docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetOccurrenceIndex

    GetOccurrenceIndex(uint, int)

    Returns the occurrence index in the viewer buffers. Can be used for mapping an index retrieved in a GLTextureHandle id map.

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public uint GetOccurrenceIndex(uint occurrence, int scene)
    Parameters
    Type Name Description
    uint occurrence

    Occurrence identifier

    int scene

    Scene identifier

    Returns
    Type Description
    uint
    In This Article
    Back to top
    Copyright © 2025 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)