TilePlus Version 5
Unity3D Tilemap Extension
Loading...
Searching...
No Matches
TilePlus.TSceneList.TSceneSpec Class Reference

The control info for a scene's layout for ONE selector and grid. More...

Collaboration diagram for TilePlus.TSceneList.TSceneSpec:

Public Attributes

string? m_SceneLayoutName = "layout_name"
 Which Layout Spec to use for this selector. Specifically, this field must match a corresponding LayoutName field in a TpZoneLayout component. TpChunkedSceneManager
TSceneInitializerm_Initializer
 The TSceneInitializer to use for this SelectorLayout. If not null, it's used in addition to the DefaultInitializer (if any) from the LayoutSpec. Note that if there's an Initializer specified here, it will be used IN ADDITION TO the Initializer (if any) in the LayoutSpec. Hence,common inits (e.g., waypoints in all scenes handled in the default) and TScene-specific inits (a feature unique to a specific scene) in an initializer referenced here.
TpChunkSelectorBasem_Selector
 ChunkTemplateSelector reference.
FabOrBundleLoadFlags m_OverrideFlags = FabOrBundleLoadFlags.None
 Optional forcing of load flags setting.
bool m_OverrideChunkSize
 Override chunk size from selector.
int m_NewChunkSize = 16
 Chunk size to use if override bool is true.
bool m_OverrideWorldOrigin = false
 Override world origin if true.
Vector3Int m_WorldOrigin
 Override value for world origin.
bool m_OverrideCamViewPadding = false
 Override Cam View Padding if true.
Vector2Int m_CameraViewPadding
 Override value for Cam View Padding.
bool m_ThrottleTileFab
 Override value Throttle Tilefab.
int m_ThrottleTileFabDelay = 0
 Throttle the TileFab loads if the throttleTileFab is TRUE.
bool m_ThrottleTileBundle
 Throttle TileBundle loads if true.
int m_ThrottleBundleDelay = 0
 Throttle the TileBundle loads if throttleTileBundle is true.

Detailed Description

The control info for a scene's layout for ONE selector and grid.

Member Data Documentation

◆ m_CameraViewPadding

Vector2Int TilePlus.TSceneList.TSceneSpec.m_CameraViewPadding

Override value for Cam View Padding.

◆ m_Initializer

TSceneInitializer? TilePlus.TSceneList.TSceneSpec.m_Initializer

The TSceneInitializer to use for this SelectorLayout. If not null, it's used in addition to the DefaultInitializer (if any) from the LayoutSpec. Note that if there's an Initializer specified here, it will be used IN ADDITION TO the Initializer (if any) in the LayoutSpec. Hence,common inits (e.g., waypoints in all scenes handled in the default) and TScene-specific inits (a feature unique to a specific scene) in an initializer referenced here.

◆ m_NewChunkSize

int TilePlus.TSceneList.TSceneSpec.m_NewChunkSize = 16

Chunk size to use if override bool is true.

◆ m_OverrideCamViewPadding

bool TilePlus.TSceneList.TSceneSpec.m_OverrideCamViewPadding = false

Override Cam View Padding if true.

◆ m_OverrideChunkSize

bool TilePlus.TSceneList.TSceneSpec.m_OverrideChunkSize

Override chunk size from selector.

◆ m_OverrideFlags

FabOrBundleLoadFlags TilePlus.TSceneList.TSceneSpec.m_OverrideFlags = FabOrBundleLoadFlags.None

Optional forcing of load flags setting.

Load flags: normally, the LoadFlags in the ChunkTemplateSelector are the ones which are used. BUT: this can be overriden by the OverrideFlags field here. Set to NONE if you don't want to change anything. –HOWEVER– these can still be modified in the Layout.Updatetick callbacks.

◆ m_OverrideWorldOrigin

bool TilePlus.TSceneList.TSceneSpec.m_OverrideWorldOrigin = false

Override world origin if true.

◆ m_SceneLayoutName

string? TilePlus.TSceneList.TSceneSpec.m_SceneLayoutName = "layout_name"

Which Layout Spec to use for this selector. Specifically, this field must match a corresponding LayoutName field in a TpZoneLayout component. TpChunkedSceneManager

◆ m_Selector

TpChunkSelectorBase? TilePlus.TSceneList.TSceneSpec.m_Selector

ChunkTemplateSelector reference.

This overwrites the Selector field in the ZoneLayout component.

◆ m_ThrottleBundleDelay

int TilePlus.TSceneList.TSceneSpec.m_ThrottleBundleDelay = 0

Throttle the TileBundle loads if throttleTileBundle is true.

◆ m_ThrottleTileBundle

bool TilePlus.TSceneList.TSceneSpec.m_ThrottleTileBundle

Throttle TileBundle loads if true.

◆ m_ThrottleTileFab

bool TilePlus.TSceneList.TSceneSpec.m_ThrottleTileFab

Override value Throttle Tilefab.

◆ m_ThrottleTileFabDelay

int TilePlus.TSceneList.TSceneSpec.m_ThrottleTileFabDelay = 0

Throttle the TileFab loads if the throttleTileFab is TRUE.

◆ m_WorldOrigin

Vector3Int TilePlus.TSceneList.TSceneSpec.m_WorldOrigin

Override value for world origin.


The documentation for this class was generated from the following file:
  • /Users/jms/Documents/Tpt_55/TPT55/Assets/Plugins/TilePlus/Runtime/FabAndZone/ScriptableObjects/TSceneList.cs