3D Lingo Dictionary > A-B > bias

 

bias

Syntax

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

Description

3D lod modifier property; indicates how aggressively the modifier removes detail from the model when its auto property is set to TRUE. This property has no effect when the modifier's auto property is set to FALSE.

The range for this property is from 0.0 (removes all polygons) to +100.0 (removes no polygons). The default setting is 100.0.

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 bias property of the lod modifier of the model named Spaceship to 10. If the lod modifier's auto property is set to TRUE, the modifier will very aggressively lower the level of detail of Spaceship as it moves away from the camera.

member("3D World").model("Spaceship").lod.bias = 10

See also

lod (modifier), auto, level