docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetSharedIndexArray

    GetSharedIndexArray()

    Indices into shared values. For example, given source array: [A,A,A,B,B,C,C,A,B] shared values are: [A,B,C] shared index array would contain: [0,0,0,1,1,2,2,0,1]

    Declaration
    public NativeArray<int> GetSharedIndexArray()
    Returns
    Type Description
    NativeArray<int>

    Index NativeArray where each element refers to the index of a shared value in a list of shared (unique) values.

    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)