Class SceneObjectIDMap | High Definition RP | 6.7.1-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneObjectIDMap

    Inheritance
    Object
    SceneObjectIDMap
    Namespace: UnityEngine.Experimental.Rendering.HDPipeline
    Syntax
    public class SceneObjectIDMap

    Methods

    GetAllIDsFor<TCategory>(TCategory, Scene, List<GameObject>, List<Int32>)

    Declaration
    public static void GetAllIDsFor<TCategory>(TCategory category, Scene scene, List<GameObject> outGameObjects, List<int> outIndices)
        where TCategory : struct, IConvertible
    Parameters
    Type Name Description
    TCategory category
    Scene scene
    List<GameObject> outGameObjects
    List<Int32> outIndices
    Type Parameters
    Name Description
    TCategory

    GetAllIDsForAllScenes<TCategory>(TCategory, List<GameObject>, List<Int32>, List<Scene>)

    Declaration
    public static void GetAllIDsForAllScenes<TCategory>(TCategory category, List<GameObject> outGameObjects, List<int> outIndices, List<Scene> outScenes)
        where TCategory : struct, IConvertible
    Parameters
    Type Name Description
    TCategory category
    List<GameObject> outGameObjects
    List<Int32> outIndices
    List<Scene> outScenes
    Type Parameters
    Name Description
    TCategory

    GetOrCreateSceneObjectID<TCategory>(GameObject, TCategory)

    Declaration
    public static int GetOrCreateSceneObjectID<TCategory>(GameObject gameObject, TCategory category)
        where TCategory : struct, IConvertible
    Parameters
    Type Name Description
    GameObject gameObject
    TCategory category
    Returns
    Type Description
    Int32
    Type Parameters
    Name Description
    TCategory

    TryGetSceneObjectID<TCategory>(GameObject, out Int32, out TCategory)

    Declaration
    public static bool TryGetSceneObjectID<TCategory>(GameObject gameObject, out int index, out TCategory category)
        where TCategory : struct, IConvertible
    Parameters
    Type Name Description
    GameObject gameObject
    Int32 index
    TCategory category
    Returns
    Type Description
    Boolean
    Type Parameters
    Name Description
    TCategory
    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