What's New in Director 8.5 > Controlling the 3D World > Rendering functionality > Sprite properties

 

Sprite properties

You can control most sprite properties using the Property Inspector. For more information, see Using the Property Inspector for 3D. Use the following properties to work with 3D sprites in Lingo.:

Property

Access

Description

Default

directToStage

Get and set

TRUE (1) or FALSE (0) specification of whether rendering occurs directly to the Stage or to Director's offscreen buffer. If TRUE (1), other sprites that intersect with this sprite may flicker. If FALSE (0), rendering layers well but speed declines.

TRUE (1):rendering occurs directly to the Stage

backColor

Get and set

Background color in all views.

rgb(0,0,0)

camera

Get and set

Determines which camera this sprite is using.

None

targetFrameRate

Get and set

Controls the desired playback speed. If the useTargetFramerate property is TRUE (1), then the lod.bias property of all model resources is dynamically altered until the target frame rate is met.

30

useTargetFrameRate

Get and set

If a target frame rate has been set and you want to use it, set this property to TRUE (1).

TRUE (1)