Hex Terrains Framework
Search Results for

    Show / Hide Table of Contents

    Struct CopyToAndConvertJob<TSource, TTarget>

    Copies items from one collection to another, converting values while copying.

    Implements
    IJobParallelFor
    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
    [BurstCompile]
    public struct CopyToAndConvertJob<TSource, TTarget> : IJobParallelFor where TSource : unmanaged where TTarget : unmanaged, IConvertableTo<TSource>
    Type Parameters
    Name Description
    TSource

    Type of source collection

    TTarget

    Type of target collection

    Fields

    Source

    Source collection to copy data from

    Declaration
    [ReadOnly]
    public NativeArray<TSource> Source
    Field Value
    Type Description
    NativeArray<TSource>

    Target

    Target collection to copy data to

    Declaration
    [WriteOnly]
    public NativeArray<TTarget> Target
    Field Value
    Type Description
    NativeArray<TTarget>

    Methods

    Execute(int)

    Performs work against a specific iteration index.

    Declaration
    [BurstCompile]
    public void Execute(int index)
    Parameters
    Type Name Description
    int index

    The index of the Parallel for loop at which to perform work.

    Implements

    Unity.Jobs.IJobParallelFor

    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