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

    Struct ArchetypeChunk

    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 ArchetypeChunk

    Fields

    StartIndex

    Declaration
    public int StartIndex
    Field Value
    Type Description
    System.Int32

    Properties

    Count

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

    Methods

    GetComponentVersion<T>(ArchetypeChunkComponentType<T>)

    Declaration
    public uint GetComponentVersion<T>(ArchetypeChunkComponentType<T> chunkComponentType)where T : struct, IComponentData
    Parameters
    Type Name Description
    ArchetypeChunkComponentType<T> chunkComponentType
    Returns
    Type Description
    System.UInt32
    Type Parameters
    Name Description
    T

    GetNativeArray(ArchetypeChunkEntityType)

    Declaration
    public NativeArray<Entity> GetNativeArray(ArchetypeChunkEntityType archetypeChunkEntityType)
    Parameters
    Type Name Description
    ArchetypeChunkEntityType archetypeChunkEntityType
    Returns
    Type Description
    NativeArray<Entity>

    GetNativeArray<T>(ArchetypeChunkComponentType<T>)

    Declaration
    public NativeArray<T> GetNativeArray<T>(ArchetypeChunkComponentType<T> chunkComponentType)where T : struct, IComponentData
    Parameters
    Type Name Description
    ArchetypeChunkComponentType<T> chunkComponentType
    Returns
    Type Description
    NativeArray<T>
    Type Parameters
    Name Description
    T

    GetSharedComponentIndex<T>(ArchetypeChunkSharedComponentType<T>)

    Declaration
    public int GetSharedComponentIndex<T>(ArchetypeChunkSharedComponentType<T> chunkSharedComponentData)where T : struct, ISharedComponentData
    Parameters
    Type Name Description
    ArchetypeChunkSharedComponentType<T> chunkSharedComponentData
    Returns
    Type Description
    System.Int32
    Type Parameters
    Name Description
    T
    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