KX_LodLevel(EXP_PyObjectPlus)

base class — EXP_PyObjectPlus

class bge.types.KX_LodLevel

A single lod level for a game object lod manager.

mesh

The mesh used for this lod level. (read only)

Type:

KX_MeshProxy

level

The number of the lod level. (read only)

Type:

integer

distance

Distance to begin using this level of detail. (read only)

Type:

float (0.0 to infinite)

hysteresis

Minimum distance factor change required to transition to the previous level of detail in percent. (read only)

Type:

float [0.0 to 100.0]

useMesh

Deprecated since version 0.3.0: Return True if the lod level uses a different mesh than the original object mesh. (read only)

type:

boolean

useMaterial

Deprecated since version 0.3.0: Return True if the lod level uses a different material than the original object mesh material. (read only)

type:

boolean

useHysteresis

Return true if the lod level uses hysteresis override. (read only)

Type:

boolean