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

[AI] Contains information about a single LEGO actor/character, including its name, head/part types, color/texture indices, and runtime pointers to objects. More...

#include <legoactors.h>

Collaboration diagram for LegoActorInfo:

Classes

struct  Part
 [AI] Describes a part/slot of a LEGO actor (e.g. More...
 

Public Attributes

const char * m_name
 [AI] Unique name string for this actor type (used for lookup in runtime logic, e.g. "pepper", "mama"). [AI] More...
 
LegoROIm_roi
 [AI] Pointer to the runtime ROI (graphical representation/model) of the actor, assigned at runtime. [AI] More...
 
LegoExtraActorm_actor
 [AI] Pointer to the runtime logic/controller object for the actor (LegoExtraActor), assigned at runtime. [AI] More...
 
MxS32 m_sound
 [AI] Sound profile or current sound effect associated (index/id). [AI] More...
 
MxS32 m_move
 [AI] Movement profile, move type, or current move id. [AI] More...
 
MxU8 m_mood
 [AI] Mood parameter for the actor (expressions/mouth shape/animation set). [AI] More...
 
Part m_parts [10]
 [AI] Table of body parts, each with their own variant/color selection and mappings (see Part struct). [AI] More...
 

Detailed Description

[AI] Contains information about a single LEGO actor/character, including its name, head/part types, color/texture indices, and runtime pointers to objects.

[AI]

[AI] This structure encodes both the static data (e.g. actor name and part type names) as well as pointers to the runtime ROI (graphical model) and actor logic object (LegoExtraActor). It also has sound, move, and mood fields (all S32 or U8), as well as a fixed array of 10 'parts', which describe the variations and color info for the key components (body/head/arms/etc). [AI]

See also
LegoROI, LegoExtraActor, LegoActorLOD [AI]

Definition at line 13 of file legoactors.h.

Member Data Documentation

◆ m_actor

LegoExtraActor* LegoActorInfo::m_actor

[AI] Pointer to the runtime logic/controller object for the actor (LegoExtraActor), assigned at runtime. [AI]

Definition at line 27 of file legoactors.h.

◆ m_mood

MxU8 LegoActorInfo::m_mood

[AI] Mood parameter for the actor (expressions/mouth shape/animation set). [AI]

Definition at line 30 of file legoactors.h.

◆ m_move

MxS32 LegoActorInfo::m_move

[AI] Movement profile, move type, or current move id. [AI]

Definition at line 29 of file legoactors.h.

◆ m_name

const char* LegoActorInfo::m_name

[AI] Unique name string for this actor type (used for lookup in runtime logic, e.g. "pepper", "mama"). [AI]

Definition at line 25 of file legoactors.h.

◆ m_parts

Part LegoActorInfo::m_parts[10]

[AI] Table of body parts, each with their own variant/color selection and mappings (see Part struct). [AI]

Definition at line 31 of file legoactors.h.

◆ m_roi

LegoROI* LegoActorInfo::m_roi

[AI] Pointer to the runtime ROI (graphical representation/model) of the actor, assigned at runtime. [AI]

Definition at line 26 of file legoactors.h.

◆ m_sound

MxS32 LegoActorInfo::m_sound

[AI] Sound profile or current sound effect associated (index/id). [AI]

Definition at line 28 of file legoactors.h.


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