docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct World.NoAllocReadOnlyCollection<T>

    Read only collection that doesn't generate garbage when used in a foreach.

    Namespace: Unity.Entities
    Assembly: Unity.Entities.dll
    Syntax
    public struct World.NoAllocReadOnlyCollection<T>
    Type Parameters
    Name Description
    T

    The list element type

    Constructors

    Name Description
    NoAllocReadOnlyCollection(List<T>)

    Construct a new instance

    Properties

    Name Description
    Count

    The number of list elements

    this[int]

    Look up a list element by index

    Methods

    Name Description
    Contains(T)

    Check if the list contains a specific element

    GetEnumerator()

    Get an enumerator interface to the list

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)