3D Lingo Dictionary > C-D > directToStage |  |

directToStage

Syntax

    member(whichCastmember).directToStage
    sprite(whichSprite).directToStage

Description

3D cast member and sprite property; indicates whether the sprite renders directly to the Stage (`TRUE`) or to the offscreen buffer (`FALSE`).

If this property is `TRUE`, the sprite displays in front of all other sprites and cannot use ink effects.

If this property is `FALSE`, the sprite displays according to its order in the Score and can use ink effects. This may degrade the performance of the movie, especially on slower computers.

The default value of this property is `TRUE`.

Example

This statement causes Director to render the cast member named PicnicScene to its offscreen buffer before it is drawn on the Stage.

    member("PicnicScene").directToStage = FALSE