timelinefx:timelinefx.tlGameObject.Render
Method Render:Void( canvas:Canvas, tween:Float=0, origin:tlVector2=New tlVector2, renderchildren:Int=true, screenbox:tlBox=Null )
Render the entity This will Draw the entity onto the screen using the tween value you pass to it to interpolate between old and new positions when using fixed rate timing.
Parameters
canvas Canvas to draw to
tween the tween value to smooth out the rendering (optional)
origin tlVector2 use this to offset the rendering if you have a game world you can scroll about.
renderchildren True/False if you want to render the children of the object (default true)
screenbox tlBox you can pass a tlBox that is used to cull anything outside of the box (optional)