Struct EntityArray | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct EntityArray

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: Unity.Entities
    Syntax
    public struct EntityArray

    Properties

    Item[Int32]

    Declaration
    public Entity this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    Entity

    Length

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    CopyTo(NativeSlice<Entity>, Int32)

    Declaration
    public void CopyTo(NativeSlice<Entity> dst, int startIndex = 0)
    Parameters
    Type Name Description
    NativeSlice<Entity> dst
    System.Int32 startIndex

    GetChunkArray(Int32, Int32)

    Declaration
    public NativeArray<Entity> GetChunkArray(int startIndex, int maxCount)
    Parameters
    Type Name Description
    System.Int32 startIndex
    System.Int32 maxCount
    Returns
    Type Description
    NativeArray<Entity>

    ToArray()

    Declaration
    public Entity[] ToArray()
    Returns
    Type Description
    Entity[]
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023