LODZone
ThaumielMapEditor.API.Components
Overviewβ
Propertiesβ
| Name | Type | Access | Description |
|---|---|---|---|
Index | UInt32 | get | Gets the index of this ThaumielMapEditor.API.Components.LODZone within its ThaumielMapEditor.API.Data.SchematicData. |
PrimitivestoUnload | List<PrimitiveType> | get | Gets the list of UnityEngine.PrimitiveTypes that should be spawned and despawned when a LabApi.Features.Wrappers.Player enters or exits this zone. |
Schematic | SchematicData | get | Gets the ThaumielMapEditor.API.Data.SchematicData this zone belongs to. |
Methodsβ
| Signature | Returns | Description |
|---|---|---|
Init(SchematicData, List<PrimitiveType>, UInt32) | void | Initializes this ThaumielMapEditor.API.Components.LODZone instance and subscri⦠|
Propertiesβ
Indexβ
Type: UInt32βAccess: get
Gets the index of this ThaumielMapEditor.API.Components.LODZone within its ThaumielMapEditor.API.Data.SchematicData.
PrimitivestoUnloadβ
Type: List<PrimitiveType>βAccess: get
Gets the list of UnityEngine.PrimitiveTypes that should be spawned and despawned when a LabApi.Features.Wrappers.Player enters or exits this zone.
Schematicβ
Type: SchematicDataβAccess: get
Gets the ThaumielMapEditor.API.Data.SchematicData this zone belongs to.
Methodsβ
Initβ
Init
public void Init(
SchematicData schematic,
List<PrimitiveType> unload,
UInt32 index
)
Initializes this ThaumielMapEditor.API.Components.LODZone instance and subscribes to the trigger enter and exit events.
Parametersβ
| Name | Type | Description |
|---|---|---|
schematic | SchematicData | The ThaumielMapEditor.API.Data.SchematicData this zone belongs to. |
unload | List<PrimitiveType> | The list of UnityEngine.PrimitiveTypes to spawn and despawn as players enter and exit. |
index | UInt32 | The index of this zone within the schematic. |