Struct CreateSunLayerRequest
Inherited Members
Namespace: Fwt.HexTerrains.Suns.Data
Assembly: fwt.hexterrains.dll
Syntax
public struct CreateSunLayerRequest : IBufferElementData, ITerrainLayerFactory
Fields
Args
Reference to a scriptable object with configuration for sun layer
Declaration
public UnityObjectRef<SunTerrainLayerConfigAsset> Args
Field Value
| Type | Description |
|---|---|
| UnityObjectRef<SunTerrainLayerConfigAsset> |
Name
Layer will be created with this name
Declaration
public FixedString128Bytes Name
Field Value
| Type | Description |
|---|---|
| FixedString128Bytes |
Methods
CreateTerrainLayer()
Creates a new instance of a terrain layer for hex-based maps.
Declaration
public HexTerrainLayer CreateTerrainLayer()
Returns
| Type | Description |
|---|---|
| HexTerrainLayer | A HexTerrainLayer representing the newly created terrain layer. |
Implements
Unity.Entities.IBufferElementData