docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Constructor RangeIterator

    RangeIterator(DynamicArray<T>, int, int)

    Create an iterator to iterate over the given range in the array.

    Declaration
    public RangeIterator(DynamicArray<T> setOwner, int first, int numItems)
    Parameters
    Type Name Description
    DynamicArray<T> setOwner

    The array to iterate over.

    int first

    The index of the first item in the array.

    int numItems

    The number of array members to iterate through.

    Exceptions
    Type Condition
    ArgumentNullException

    Thrown if the array is null.

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