Struct CreateViewModeConfigByAssetRequest
Represents a request to create view mode configs on the terrain entity and save the ConfigAsset in it.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: Fwt.HexTerrains.ViewModes.Data
Assembly: fwt.hexterrains.dll
Syntax
public struct CreateViewModeConfigByAssetRequest : IComponentData, IQueryTypeParameter
Remarks
This struct holds a reference to a configuration asset that defines available view modes. Ensure that the referenced asset is of type ViewModeCollectionConfigAsset and is assigned before accessing view mode data.
Fields
ConfigAsset
Holds a reference to the configuration asset that defines available view modes.
Declaration
public UnityObjectRef<ViewModeCollectionConfigAsset> ConfigAsset
Field Value
| Type | Description |
|---|---|
| UnityObjectRef<ViewModeCollectionConfigAsset> |
Remarks
Use this property to access or assign the asset containing view mode collection settings. The referenced asset must be of type ViewModeCollectionConfigAsset and should be assigned before accessing view mode data.
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter