AnimObject_SetMeshLOD



AnimObject_SetMeshLOD pAnimObj, MeshIndex, LODLevel [, Mode ]

Description

Defines the LOD level which the specified mesh (limb) represents; Multiple meshes can be assigned to render for each LOD level. If LODLevel is set to -1, the mesh will always be rendered reguardless of distance.
The optional Mode parameter allows meshes to render across multiple LODs, Flags include:
0=Only render for the specified LOD level (default)
1=Render up to, and including the specified LOD level
2=Begin rendering at the specified LOD level, continue rendering to infinity

Parameters

pAnimObjINTEGERThe AnimObject who's LOD is being setup
MeshIndexINTEGERIndex of the Mesh being setup for LOD
LODLevelINTEGERNumber of LOD levels used by the specified AnimObject
ModeINTEGER(Optional) Flag used to allow meshes render across multiple LODs


AnimObject Commands
jGpuSkin Command Index
jGpuSkin Main