Class CellRegionLayerConfigAsset
Inheritance
Object
ScriptableObject
CellRegionLayerConfigAsset
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.InstantiateAsync<T>(T)
Object.InstantiateAsync<T>(T, Transform)
Object.InstantiateAsync<T>(T, Vector3, Quaternion)
Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Scene)
Object.Instantiate<T>(T, InstantiateParameters)
Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags
Namespace: Fwt.HexTerrains.Regions.Data
Assembly: fwt.hexterrains.dll
Syntax
[CreateAssetMenu(fileName = "CellRegionLayerConfig", menuName = "Fwt/HexTerrains/Cell Region/Cell Region Layer Config")]
public class CellRegionLayerConfigAsset : HexTerrainLayerConfigAsset<CellRegionLayer>, ITerrainLayerFactory, ICellRegionConfig
Fields
_autoColorMapSettings
Used for generating color palette for cell region data layer. The color palette will be generated based on the max value of the cell region data layer and the color map settings.
Declaration
[SerializeField]
[Tooltip("Used for generating color palette for cell region data layer. The color palette will be generated based on the max value of the cell region data layer and the color map settings. To Generate a palette, right mouse button click on scriptable object header and select AutoFillColorPalette")]
[FormerlySerializedAs("AutoColorMapSettings")]
protected AutoColorMapSettings _autoColorMapSettings
Field Value
| Type | Description |
|---|---|
| AutoColorMapSettings |
_initValuesArgs
Declaration
[Tooltip("Arguments for initializing cell region data layer.")]
[SerializeField]
protected InitColorMapCellValueDataLayerArgs<int> _initValuesArgs
Field Value
| Type | Description |
|---|---|
| InitColorMapCellValueDataLayerArgs<int> |
Properties
InitValuesArgs
Arguments for initializing cell region data layer.
Declaration
public InitColorMapCellValueDataLayerArgs<int> InitValuesArgs { get; set; }
Property Value
| Type | Description |
|---|---|
| InitColorMapCellValueDataLayerArgs<int> |
Methods
AutoFillColorPalette()
Declaration
[ContextMenu("AutoFillColorPalette")]
public void AutoFillColorPalette()
CreateTerrainLayer()
Creates a new instance of a terrain layer for hex-based maps.
Declaration
public override HexTerrainLayer CreateTerrainLayer()
Returns
| Type | Description |
|---|---|
| HexTerrainLayer | A HexTerrainLayer representing the newly created terrain layer. |