![]() |
TilePlus Version 5
Unity3D Tilemap Extension
|
Interface IChunkSelector. More...

Public Member Functions | |
| TileFabLoadParams? | Selector (RectInt locator, TpZoneLayout layout, Dictionary< string, Tilemap > monitoredMaps) |
| Obtain TileFab load params given a locator. | |
| bool | Initialize (TpZoneManager zm, object? obj=null) |
| Initialization. | |
| bool | Release () |
| Release any assets used by the selector such as caches. | |
| BoundsInt | SelectorTotalSize (TpZoneLayout layout) |
| Get the largest bounds from all Fabs used by a selector. | |
Properties | |
| FabOrBundleLoadFlags | LoadFlags [get] |
| Default load flags. Override in derived class. | |
| List< TpTileFab >? | UsedTileFabs [get] |
| A list of the TileFabs used by this selector. If not appropriate, return null. | |
| int | ChunkSize [get, set] |
| The chunk size used by this selector. | |
| Guid | SelectorGuid [get] |
| A GUID for the asset. | |
Interface IChunkSelector.
| bool TilePlus.IChunkSelector.Initialize | ( | TpZoneManager | zm, |
| object? | obj = null ) |
Initialization.
| zm | The Zone Manager this Selector is using |
| obj | Arbitrary data |
true if XXXX, false otherwise.Implemented in TilePlus.TpChunkSelectorBase, TilePlus.TpChunkZoneSelector, and TilePlus.TpSingleFabChunkSelector.
| bool TilePlus.IChunkSelector.Release | ( | ) |
Release any assets used by the selector such as caches.
Implemented in TilePlus.TpChunkSelectorBase, TilePlus.TpChunkZoneSelector, and TilePlus.TpSingleFabChunkSelector.
| TileFabLoadParams? TilePlus.IChunkSelector.Selector | ( | RectInt | locator, |
| TpZoneLayout | layout, | ||
| Dictionary< string, Tilemap > | monitoredMaps ) |
Obtain TileFab load params given a locator.
| locator | The Locator. |
| layout | The Zone Layout instance. |
| monitoredMaps | Tilemaps used by the ZoneManager. |
Implemented in TilePlus.TpChunkSelectorBase, TilePlus.TpChunkZoneSelector, and TilePlus.TpSingleFabChunkSelector.
| BoundsInt TilePlus.IChunkSelector.SelectorTotalSize | ( | TpZoneLayout | layout | ) |
Get the largest bounds from all Fabs used by a selector.
Implemented in TilePlus.TpChunkSelectorBase, TilePlus.TpChunkZoneSelector, and TilePlus.TpSingleFabChunkSelector.
|
getset |
The chunk size used by this selector.
Implemented in TilePlus.TpChunkSelectorBase.
|
get |
Default load flags. Override in derived class.
|
get |
A GUID for the asset.
Implemented in TilePlus.TpChunkSelectorBase.
|
get |
A list of the TileFabs used by this selector. If not appropriate, return null.
Implemented in TilePlus.TpChunkSelectorBase, TilePlus.TpChunkZoneSelector, and TilePlus.TpSingleFabChunkSelector.