Struct UnsafeList.ParallelReader | Collections | 0.15.0-preview.21
docs.unity.cn
    Show / Hide Table of Contents

    Struct UnsafeList.ParallelReader

    Implements parallel reader. Use AsParallelReader to obtain it from container.

    Namespace: Unity.Collections.LowLevel.Unsafe
    Syntax
    public struct ParallelReader

    Fields

    Length

    Declaration
    public readonly int Length
    Field Value
    Type Description
    Int32

    Ptr

    Declaration
    [NativeDisableUnsafePtrRestriction]
    public readonly void *Ptr
    Field Value
    Type Description
    Void*

    Methods

    Contains<T>(T)

    Declaration
    public bool Contains<T>(T value)
        where T : struct, IEquatable<T>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    T

    IndexOf<T>(T)

    Declaration
    public int IndexOf<T>(T value)
        where T : struct, IEquatable<T>
    Parameters
    Type Name Description
    T value
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    T
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Saturday, January 23, 2021