StaticMovieClipBehaviour


Description

The StaticMovieClipBehaviour allows static MovieClips to be displayed in the scene as 3D objects.



Functions

Awake

update

Manual update handler, renders the scene and handles user input etc.

calcOthoScale

Set a pixel perfect scale to render display objects on an orthographic camera.

getDefaultDrawScale

Gets default draw scale

setUri

Set the MovieClip URI.

renderFrame

Renders one frame of the active movieclip and advances the timeline.


Variables

defaultDrawScale

Default global draw scale to initialise the drawScale .

swf

Set the swf asset name eg.

symbolName

Set the exported symbol name to load from the swf asset file.

gotoAndStopLabel

Set the current frame to the specified label ( editor only update ).

gotoAndStopFrame

Set the current frame to the specified frame ( editor only update ).

billboard

Set the orientation to always look at the main camera.

billboardCamera

Billboard mode camera to use, defaults to Camera.main.

loop

Loop timeline.

flipY

Flip the Y coordinates, usefull for handling coordinate between flash and uniSWF.

drawScale

Draw scale sets the stage scale.

editorPreview

Enable live editor preview.

blendMode

Set the blendmode.

fps

Target framerate to render the MovieClip timeline.

colorTransform

Stage color transform.

movieClip

Active MovieClip player instance.

stage

Active Stage instance.

gfxGenerator

Active mesh generator.

currentFrame

Get or set the current frame on the active MovieClip's timeline.

zDrawDisplayObjectSpace

Get or set the depth spacing of each DisplayObject.

zDrawDisplayObjectContainerSpace

Get or set the depth spacing of each DisplayObjectContainer.