3D Lingo Dictionary > A-B > auto

 

auto

Syntax

member(whichCastmember).model(whichModel).lod.auto

Description

3D lod modifier property; allows the modifier to manage the reduction of detail in the model as the distance between the model and the camera changes.

The setting of the modifier's bias property determines how aggressively the modifier removes detail from the model when the auto property is set to TRUE.

The modifier updates its level property as it adjusts the model's level of detail. Setting the level property has no effect unless the auto property is set to FALSE.

The #lod modifier can only be added to models created outside of Director in 3D modeling programs. The value of the type property of the model resources used by these models is #fromFile. The modifier cannot be added to primitives created within Director.

Example

This statement sets the auto property of the lod modifier of the model named Spaceship to TRUE. The modifier will automatically set the model's level of detail.

member("3D World").model("Spaceship").lod.auto = TRUE

See also

lod (modifier), bias, level