Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Class CellItemLayerConfigAsset<TLayer>

    Inheritance
    object
    Object
    ScriptableObject
    HexTerrainLayerConfigAsset<TLayer>
    CellItemLayerConfigAsset<TLayer>
    CellEntityLayerConfigAsset
    CellObjectLayerConfigAsset
    Implements
    ITerrainLayerFactory
    ICellItemLayerConfig
    Inherited Members
    HexTerrainLayerConfigAsset<TLayer>.CreateTerrainLayer()
    HexTerrainLayerConfigAsset<TLayer>.CreateTerrainLayer<TTargetLayer>()
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    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(Object, Transform, bool)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.HexTerrains.CellItems.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    public abstract class CellItemLayerConfigAsset<TLayer> : HexTerrainLayerConfigAsset<TLayer>, ITerrainLayerFactory, ICellItemLayerConfig where TLayer : CellItemLayer
    Type Parameters
    Name Description
    TLayer

    Fields

    _cellItemIndexArgs

    Declaration
    [Tooltip("Arguments for initializing the cell object value data layer.")]
    [SerializeField]
    protected InitColorMapCellValueDataLayerArgs<int> _cellItemIndexArgs
    Field Value
    Type Description
    InitColorMapCellValueDataLayerArgs<int>

    _cellItemLocalPositionArgs

    Declaration
    [Tooltip("Arguments for initializing the cell object local position value data layer.")]
    [SerializeField]
    protected InitCellValueDataLayerArgs<float3> _cellItemLocalPositionArgs
    Field Value
    Type Description
    InitCellValueDataLayerArgs<float3>

    _cellItemLocalRotationArgs

    Declaration
    [Tooltip("Arguments for initializing the cell object local rotation value data layer.")]
    [SerializeField]
    protected InitCellValueDataLayerArgs<quaternion> _cellItemLocalRotationArgs
    Field Value
    Type Description
    InitCellValueDataLayerArgs<quaternion>

    _cellItemLocalScaleArgs

    Declaration
    [Tooltip("Arguments for initializing the cell object local scale value data layer.")]
    [SerializeField]
    protected InitCellValueDataLayerArgs<float3> _cellItemLocalScaleArgs
    Field Value
    Type Description
    InitCellValueDataLayerArgs<float3>

    _cellItemStateArgs

    Declaration
    [Tooltip("Arguments for initializing the cell object state value data layer.")]
    [SerializeField]
    protected InitCellValueDataLayerArgs<int> _cellItemStateArgs
    Field Value
    Type Description
    InitCellValueDataLayerArgs<int>

    _cellItemTranformSettings

    Declaration
    [Tooltip("Settings for placing the cell item within the cell.")]
    [SerializeField]
    protected CellItemTransformSettingsEditor _cellItemTranformSettings
    Field Value
    Type Description
    CellItemTransformSettingsEditor

    _overlapSurfaceLayerReference

    Declaration
    [SerializeField]
    [Tooltip("Reference to the terrain layer that overlaps the surface layer. If the overlap surface layer reference is set, the item will be placed on top of layer whose cell height is bigger.")]
    protected HexTerrainLayerReference _overlapSurfaceLayerReference
    Field Value
    Type Description
    HexTerrainLayerReference

    _surfaceLayerReference

    Declaration
    [Tooltip("Reference to the surface layer to use for calculating cell object positions.")]
    [SerializeField]
    protected HexTerrainLayerReference _surfaceLayerReference
    Field Value
    Type Description
    HexTerrainLayerReference

    Properties

    CellItemIndexArgs

    Declaration
    public InitColorMapCellValueDataLayerArgs<int> CellItemIndexArgs { get; set; }
    Property Value
    Type Description
    InitColorMapCellValueDataLayerArgs<int>

    CellItemLocalPositionArgs

    Arguments for initializing the cell object local position value data layer.

    Declaration
    public InitCellValueDataLayerArgs<float3> CellItemLocalPositionArgs { get; set; }
    Property Value
    Type Description
    InitCellValueDataLayerArgs<float3>

    CellItemLocalRotationArgs

    Arguments for initializing the cell object local rotation value data layer.

    Declaration
    public InitCellValueDataLayerArgs<quaternion> CellItemLocalRotationArgs { get; set; }
    Property Value
    Type Description
    InitCellValueDataLayerArgs<quaternion>

    CellItemLocalScaleArgs

    Arguments for initializing the cell object local scale value data layer.

    Declaration
    public InitCellValueDataLayerArgs<float3> CellItemLocalScaleArgs { get; set; }
    Property Value
    Type Description
    InitCellValueDataLayerArgs<float3>

    CellItemStateArgs

    Declaration
    public InitCellValueDataLayerArgs<int> CellItemStateArgs { get; set; }
    Property Value
    Type Description
    InitCellValueDataLayerArgs<int>

    CellItemTransformSettings

    Settings related to placement and transformation of each cell items in the layer (in addition to individual cell transform).

    Declaration
    public CellItemTransformSettings CellItemTransformSettings { get; set; }
    Property Value
    Type Description
    CellItemTransformSettings

    OverlapSurfaceLayerReference

    Represents a reference to the terrain layer that overlaps the SurfaceLayerReference surface layer. If the overlap surface layer reference is set, the item will be placed on top of layer whose cell height is bigger.

    Declaration
    public HexTerrainLayerReference OverlapSurfaceLayerReference { get; set; }
    Property Value
    Type Description
    HexTerrainLayerReference
    Remarks

    This field can be used to identify or interact with the terrain layer that is positioned above or otherwise intersects the primary surface layer in a hex-based terrain system.

    SurfaceLayerReference

    Reference to the surface layer to use for calculating cell item positions.

    Declaration
    public HexTerrainLayerReference SurfaceLayerReference { get; set; }
    Property Value
    Type Description
    HexTerrainLayerReference

    Implements

    ITerrainLayerFactory
    ICellItemLayerConfig

    Extension Methods

    Extensions_UnityObject.SmartDestroy<TObject>(TObject)
    Extensions_UnityObject.SmartDisableGameObject<TObject>(TObject)
    Extensions_UnityObject.SmartEnableGameObject<TObject>(TObject)
    HashExtensions.GetHashCode_RefType<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