The MovieClipOverlayCameraBehaviour allows rendering DisplayObjects to the screen. DisplayObjects can be attached to the stage and will appear overlayed in the scene. For rendering with non-othrographic camera its advisable to create a second camera with the MovieClipOverlayCameraBehaviour attached.
Initialises overlays and instances the mesh renderer. | |
Behaviour state event. | |
Frame update handler, renders the scene and handles user input etc. | |
Doesnt the actual screen mesh generation for rendering. | |
Renders one frame of the active movieclip and advances the timeline. |
Default camera to use for MovieClipOverlayCameraBehaviour.instance | |
Set keyboard input enabled | |
Set to allow mouse or keyboard interaction. | |
Set mouse over interactions. | |
Enable multiple touch events otherwise the first touch down event will only be used. | |
Target framerate to render the MovieClip timeline. | |
Stage color transform. | |
Active MovieClip player instance. | |
Active Stage instance. | |
Active mesh generator. | |
Stage scale. | |
Sync MovieClipOverlayCameraBehaviour.stageScale to the scale.scaleX/y per frame. | |
Process user input every Update, false will process every swf frame. | |
Singleton instance access. | |
Get or set the current frame on the active MovieClip's timeline. |
Behaviour state event. | |
Behaviour update. | |
Update event, called once per frame. | |
Internal destroy handler. | |
Destroy event. | |
Set the next state. | |
Set the next state with delay. | |
Schedule the next Update() or StateName() update for n seconds from now. | |
Get the active state name. | |
Compare state name to the active one. | |
Get the active state run time in seconds. | |
Get the active state run time in milliseconds. | |
Remove component by name. | |
Add component by name |
Associate user data with this behaviour. |