timelinefx:
timelinefx
.
tlGameObject
.SetImage
Method SetImage:Void( image:
tlShape
, collisiontype:
Int
=tlBOX_COLLISION, layer:
Int
=0 )
Set the image of the object. This will also define a
tlBox
that you can use for adding to a quad tree and for doing of screen culling and such.
Parameters
image
tlShape
collisiontype
Int or either
tlBOX
COLLISION
,
tlPOLYCOLLISION
or
tlCIRCLE_COLLISION
layer
Int of the collision layer the Image box should go on (for use with
tlQuadTree
)