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. | |
Frame update handler, renders the scene and handles user input etc. | |
Doesnt the actual screen mesh generation for rendering. | |
| |
updateCalcDrawOffsets | |
Set drawing scale and offset. | |
Renders one frame of the active movieclip and advances the timeline. | |
| |
| |
Set framerate ( use this instead of fps property ) |
Stage.stageWidth & Stage.stageHeight will be updated with camera.pixel s | |
Default camera to use for MovieClipOverlayCameraBehaviour.instance | |
Enabled depreciated non-time drift frame timing. | |
| |
Set keyboard input enabled | |
Set to allow mouse or keyboard interaction. | |
Set to allow touch input. | |
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. | |
Set the swf asset name eg. | |
Set the exported symbol name to load from the swf asset file. | |
Set the current frame to the specified label ( editor only update ). | |
Set the current frame to the specified frame ( editor only update ). | |
Loop timeline. | |
Active MovieClip player instance. | |
Faster renderer, some features may be disabled if enabled. | |
Use Time.smoothDelta for frame timings. | |
Use Time.smoothDelta for frame timings, valid if useSmoothTime is used. | |
Draw mesh into scene OnPostRender ( default true ). | |
// Touch input processing | |
Singleton instance access. | |
Get or set the current frame on the active MovieClip's timeline. | |
Screen camera Pixel rect. |