User Guide
Modifiers 367
Use these properties to work with the level of detail modifier:
Property Access Description Default
whichModel.lod.auto
Get and set TRUE (1) means that polygons are
automatically reduced based on the
distance from the camera. The fewer
polygons that are drawn, the faster
performance will be. The lod.bias
property controls how aggressively this
takes place.
FALSE (0) means that you can control
polygon reduction on a per-model basis,
provided you’ve attached the level of
detail modifier to the model. The level of
detail modifier lets you override the
default settings.
To release level of detail data from
memory once the model has been
streamed in, set the
userData property
sw3D to TRUE (1).
TRUE (1).
whichModel.lod.bias
Get and set Aggressiveness with which the level of
detail is reduced when in automatic
mode. A value of
0.0 is most aggressive
and removes all polygons. A value of
100.00 should result in no visible
degradation of the geometry. A middle
level can be used to remove polygons at
runtime that were not removed during
authoring.
A value
between
0.0
and
100.0. The
default is
100.0.
whichModel.lod.level
Get and set The percentage of the model resource
mesh resolution to use when the
automatic mode is
FALSE (0).
A value
between
0.0
and
100.0. The
default is
100.0.