docs.unity3d.com
    Show / Hide Table of Contents

    Method GetSharedIndexBySourceIndex

    GetSharedIndexBySourceIndex(Int32)

    Index of shared value associated with an element in the source buffer. For example, given source array: [A,A,A,B,B,C,C,A,B] shared values are: [A,B,C] Given the index 2 into the source array (A), the return value would be 0 (A in shared values).

    Declaration
    public int GetSharedIndexBySourceIndex(int indexIntoSourceBuffer)
    Parameters
    Type Name Description
    Int32 indexIntoSourceBuffer

    Index of source value

    Returns
    Type Description
    Int32

    Index into the list of shared values

    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