Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct FrameCycleSettings

    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.Simulations.Data
    Assembly: fwt.hexterrains.dll
    Syntax
    [Serializable]
    public struct FrameCycleSettings : IComponentData, IQueryTypeParameter

    Fields

    FramesCycleLength

    Every FramesCycleLength frames the simulation will be run. Set it to 1 to run the simulation every frame.

    Declaration
    [Tooltip("Every FramesCycleLength frames the simulation will be run. Set it to 1 to run the simulation every frame.")]
    [Min(0)]
    public int FramesCycleLength
    Field Value
    Type Description
    int

    FramesCycleOffset

    Offset from the start of the frames cycle that starts over every FramesCycleLength frames.

    Declaration
    [Tooltip("Offset from the start of the frames cycle that starts over every FramesCycleLength frames.")]
    [Min(0)]
    public int FramesCycleOffset
    Field Value
    Type Description
    int

    Properties

    Default

    Declaration
    public static FrameCycleSettings Default { get; }
    Property Value
    Type Description
    FrameCycleSettings

    Methods

    IsSimulationTick(HexTerrainSimulationTimer)

    Declaration
    public bool IsSimulationTick(HexTerrainSimulationTimer simulationTime)
    Parameters
    Type Name Description
    HexTerrainSimulationTimer simulationTime
    Returns
    Type Description
    bool

    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