Isle
Loading...
Searching...
No Matches
LegoActorLOD Struct Reference

[AI] Describes a single Level-of-Detail (LOD) variant for an actor part, including bounds and orientation info. More...

#include <legoactors.h>

Public Types

enum  { c_flag1 = 0x01 , c_flag2 = 0x02 }
 [AI] Flags for the LOD part, which affect how it is processed/built (custom LOD/connection logic). [AI] More...
 

Public Attributes

const char * m_name
 [AI] Name string for the LOD (e.g. "body", "head", "leg-lft", etc.). [AI] More...
 
const char * m_parentName
 [AI] Name of parent part/Lod, forming hierarchy for placing in the model. [AI] More...
 
MxU32 m_flags
 [AI] LOD flags; see enum above for special handling during actor building and LOD selection. [AI] More...
 
float m_boundingSphere [4]
 [AI] Defines center (x, y, z) and radius for the part's bounding sphere (collision and culling). [AI_SUGGESTED_NAME: m_boundingSphereCenterRadius] More...
 
float m_boundingBox [6]
 [AI] Defines axis-aligned bounding box: minX, minY, minZ, maxX, maxY, maxZ. Used for spatial culling. [AI_SUGGESTED_NAME: m_boundingBox] More...
 
float m_position [3]
 [AI] Default position offset (relative to parent LOD/part), in model/local space. [AI] More...
 
float m_direction [3]
 [AI] Default facing/pointing direction vector. [AI] More...
 
float m_up [3]
 [AI] Default up vector, used for orientation of the part/model. [AI] More...
 

Detailed Description

[AI] Describes a single Level-of-Detail (LOD) variant for an actor part, including bounds and orientation info.

[AI]

[AI] Records the name/flags, parent linkage, bounding sphere and box, as well as the part's spatial orientation/offset (used when positioning the part in hierarchical model composition). [AI]

See also
LegoActorLODs, LegoActorLODs enum [AI]

Definition at line 37 of file legoactors.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum

[AI] Flags for the LOD part, which affect how it is processed/built (custom LOD/connection logic). [AI]

Enumerator
c_flag1 

[AI] Used to denote special processing/class of LOD part (see usage in creation routines). [AI]

c_flag2 

[AI] Used to denote a secondary special flag (usage determined by implementation). [AI]

Definition at line 39 of file legoactors.h.

Member Data Documentation

◆ m_boundingBox

float LegoActorLOD::m_boundingBox[6]

[AI] Defines axis-aligned bounding box: minX, minY, minZ, maxX, maxY, maxZ. Used for spatial culling. [AI_SUGGESTED_NAME: m_boundingBox]

Definition at line 48 of file legoactors.h.

◆ m_boundingSphere

float LegoActorLOD::m_boundingSphere[4]

[AI] Defines center (x, y, z) and radius for the part's bounding sphere (collision and culling). [AI_SUGGESTED_NAME: m_boundingSphereCenterRadius]

Definition at line 47 of file legoactors.h.

◆ m_direction

float LegoActorLOD::m_direction[3]

[AI] Default facing/pointing direction vector. [AI]

Definition at line 50 of file legoactors.h.

◆ m_flags

MxU32 LegoActorLOD::m_flags

[AI] LOD flags; see enum above for special handling during actor building and LOD selection. [AI]

Definition at line 46 of file legoactors.h.

◆ m_name

const char* LegoActorLOD::m_name

[AI] Name string for the LOD (e.g. "body", "head", "leg-lft", etc.). [AI]

Definition at line 44 of file legoactors.h.

◆ m_parentName

const char* LegoActorLOD::m_parentName

[AI] Name of parent part/Lod, forming hierarchy for placing in the model. [AI]

Definition at line 45 of file legoactors.h.

◆ m_position

float LegoActorLOD::m_position[3]

[AI] Default position offset (relative to parent LOD/part), in model/local space. [AI]

Definition at line 49 of file legoactors.h.

◆ m_up

float LegoActorLOD::m_up[3]

[AI] Default up vector, used for orientation of the part/model. [AI]

Definition at line 51 of file legoactors.h.


The documentation for this struct was generated from the following file: