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

Data structure representing a named spatial location and orientation in the LEGO Island world, with associated boundaries for source/destination triggers and some custom flags. More...

#include <legolocations.h>

Collaboration diagram for LegoLocation:

Classes

struct  Boundary
 Defines a logical boundary associated with a location for things such as triggers, teleportation areas, or view control. More...
 

Public Attributes

MxU32 m_index
 Index or ID of this location in the global locations array. [AI]. More...
 
const char * m_name
 Name of the location (camera preset, landmark, or spawn zone). [AI]. More...
 
float m_position [3]
 Cartesian position of the location (x, y, z). [AI]. More...
 
float m_direction [3]
 Direction vector, describes primary view or travel direction. [AI]. More...
 
float m_up [3]
 Up vector, for orientation (used in look-at or camera frames). [AI]. More...
 
Boundary m_boundaryA
 First logical boundary associated with this location, for zone transitions or triggers. [AI]. More...
 
Boundary m_boundaryB
 Second logical boundary, enables junctions or asymmetric transitions. [AI]. More...
 
MxBool m_unk0x5c
 Unknown flag, seems to mark special locations or enable/disable associated logic. [AI]. More...
 
MxU8 m_frequency
 Frequency or priority, may control how often this location is used/appears in algorithms. [AI]. More...
 

Detailed Description

Data structure representing a named spatial location and orientation in the LEGO Island world, with associated boundaries for source/destination triggers and some custom flags.

[AI]

[AI] LegoLocation encapsulates a spatial location by name, with position, orientation (direction, up), and two possible boundary definitions for logical mapping such as scene transitions or camera events. Used to define camera spots, spawn points, trigger areas, etc.

Definition at line 16 of file legolocations.h.

Member Data Documentation

◆ m_boundaryA

Boundary LegoLocation::m_boundaryA

First logical boundary associated with this location, for zone transitions or triggers. [AI].

Definition at line 38 of file legolocations.h.

◆ m_boundaryB

Boundary LegoLocation::m_boundaryB

Second logical boundary, enables junctions or asymmetric transitions. [AI].

Definition at line 39 of file legolocations.h.

◆ m_direction

float LegoLocation::m_direction[3]

Direction vector, describes primary view or travel direction. [AI].

Definition at line 36 of file legolocations.h.

◆ m_frequency

MxU8 LegoLocation::m_frequency

Frequency or priority, may control how often this location is used/appears in algorithms. [AI].

Definition at line 41 of file legolocations.h.

◆ m_index

MxU32 LegoLocation::m_index

Index or ID of this location in the global locations array. [AI].

Definition at line 33 of file legolocations.h.

◆ m_name

const char* LegoLocation::m_name

Name of the location (camera preset, landmark, or spawn zone). [AI].

Definition at line 34 of file legolocations.h.

◆ m_position

float LegoLocation::m_position[3]

Cartesian position of the location (x, y, z). [AI].

Definition at line 35 of file legolocations.h.

◆ m_unk0x5c

MxBool LegoLocation::m_unk0x5c

Unknown flag, seems to mark special locations or enable/disable associated logic. [AI].

Definition at line 40 of file legolocations.h.

◆ m_up

float LegoLocation::m_up[3]

Up vector, for orientation (used in look-at or camera frames). [AI].

Definition at line 37 of file legolocations.h.


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