Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct Extensions_Collections.SetItemsCountJob<TItem>

    Sets a count of items in a collection. If collection is smaller than count, it will add items to the collection. If collection is larger than count, it will remove items from the collection.

    Implements
    IJob
    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Fwt.Core
    Assembly: fwt.core.dll
    Syntax
    public struct Extensions_Collections.SetItemsCountJob<TItem> : IJob where TItem : unmanaged
    Type Parameters
    Name Description
    TItem

    Type of items in the collection

    Fields

    Count

    Target count of items in the collection

    Declaration
    public int Count
    Field Value
    Type Description
    int

    DefaultValue

    Default value to put in every cell if collection is smaller than count

    Declaration
    public TItem DefaultValue
    Field Value
    Type Description
    TItem

    Items

    Collection to set a count of items

    Declaration
    [WriteOnly]
    public NativeList<TItem> Items
    Field Value
    Type Description
    NativeList<TItem>

    Methods

    Execute()

    Implement this method to perform work on a worker thread.

    Declaration
    public void Execute()

    Implements

    Unity.Jobs.IJob

    Extension Methods

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