docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PrimMap

    Maps from UsdPrim paths to Unity GameObjects.

    Inheritance
    object
    PrimMap
    Implements
    IEnumerable<KeyValuePair<SdfPath, GameObject>>
    IEnumerable
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Unity.Formats.USD
    Assembly: solution.dll
    Syntax
    public class PrimMap : IEnumerable<KeyValuePair<SdfPath, GameObject>>, IEnumerable

    Constructors

    Name Description
    PrimMap()

    Fields

    Name Description
    MeshSubsets
    SkelBindings
    SkelCache
    SkinningQueries

    Properties

    Name Description
    Cameras
    ContainsPointInstances
    Cubes
    HasErrors
    this[SdfPath]
    Materials
    Meshes
    SkelRoots
    Skeletons
    Spheres
    Xforms

    Methods

    Name Description
    AddInstance(GameObject)
    AddInstanceRoot(SdfPath, GameObject, SdfPath)
    AddPrototypeRoot(SdfPath, GameObject)
    Clear()

    Clear the map without destroying game objects.

    DestroyAll()

    Destroy all GameObjects and clear the map.

    GetEnumerator()

    Returns an enumerator that iterates through a collection.

    GetInstanceRoots()
    GetPrototypeRootPaths()
    TryGetValue(SdfPath, out GameObject)
    In This Article
    Back to top
    Copyright © 2023 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)