Maps from UsdPrim paths to Unity GameObjects.
public class PrimMap : IEnumerable<KeyValuePair<SdfPath, GameObject>>, IEnumerable
Constructors
Declaration
Fields
Declaration
public Dictionary<SdfPath, MeshImporter.GeometrySubsets> MeshSubsets
Field Value
Declaration
public Dictionary<SdfPath, UsdSkelBindingVector> SkelBindings
Field Value
Declaration
public UsdSkelCache SkelCache
Field Value
Declaration
public Dictionary<SdfPath, UsdSkelSkinningQuery> SkinningQueries
Field Value
Properties
Declaration
public SdfPath[] Cameras { get; set; }
Property Value
Declaration
public bool ContainsPointInstances { get; set; }
Property Value
Declaration
public SdfPath[] Cubes { get; set; }
Property Value
Declaration
public bool HasErrors { get; set; }
Property Value
Declaration
public GameObject this[SdfPath path] { get; set; }
Parameters
Property Value
Declaration
public SdfPath[] Materials { get; set; }
Property Value
Declaration
public SdfPath[] Meshes { get; set; }
Property Value
Declaration
public SdfPath[] Skeletons { get; set; }
Property Value
Declaration
public SdfPath[] SkelRoots { get; set; }
Property Value
Declaration
public SdfPath[] Spheres { get; set; }
Property Value
Declaration
public SdfPath[] Xforms { get; set; }
Property Value
Methods
Declaration
public void AddInstance(GameObject goInst)
Parameters
Declaration
public void AddInstanceRoot(SdfPath instancePath, GameObject go, SdfPath masterPath)
Parameters
Declaration
public void AddMasterRoot(SdfPath path, GameObject go)
Parameters
Clear the map without destroying game objects.
Declaration
Destroy all GameObjects and clear the map.
Declaration
Declaration
public IEnumerator GetEnumerator()
Returns
Implements
Declaration
public Dictionary<SdfPath, PrimMap.InstanceRoot>.ValueCollection GetInstanceRoots()
Returns
Declaration
public Dictionary<SdfPath, GameObject>.KeyCollection GetMasterRootPaths()
Returns
Declaration
public bool TryGetValue(SdfPath key, out GameObject obj)
Parameters
Returns
Explicit Interface Implementations
Declaration
IEnumerator<KeyValuePair<SdfPath, GameObject>> IEnumerable<KeyValuePair<SdfPath, GameObject>>.GetEnumerator()
Returns
Implements