Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    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
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    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

    Extension Methods

    HashExtensions.GetHashCode_ValueType<TValue>(TValue, int)
    Extensions_UnityObject.SmartDestroy(object)
    Extensions_UnityObject.SmartGetComponent<TComponent>(object)
    Extensions_UnityObject.SmartGetGameGameObject(object)
    In this article
    Back to top Generated by DocFX