docs.unity.cn
    Show / Hide Table of Contents

    Struct EntitiesJournaling.EntityViewArray

    Array of EntitiesJournaling.EntityView.

    Namespace: Unity.Entities
    Syntax
    [GenerateTestsForBurstCompatibility(RequiredUnityDefine = "(UNITY_EDITOR || DEVELOPMENT_BUILD) && !DISABLE_ENTITIES_JOURNALING")]
    public readonly struct EntityViewArray : IEnumerable<EntitiesJournaling.EntityView>, IEnumerable

    Properties

    Name Description
    Item[Int32]

    Get the entity at the specified index.

    Length

    Number of entity in the array.

    Methods

    Name Description
    GetEnumerator()

    Returns an enumerator that can iterate through the EntitiesJournaling.EntityViewArray.

    IndexOf(EntitiesJournaling.EntityView)

    Retrieve the index of the entity view in the array.

    ToArray()

    Convert array to managed array.

    ToNativeArray(AllocatorManager.AllocatorHandle)

    Convert array to native array.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023