USD.Reference
Description
A class that represents an SdfReference from the OpenUSD API.
Properties
assetPath | The asset path of the USD.Reference. |
customData | A Map of custom data for this USD.Reference. |
isInternal | Returns whether or not this USD.Reference is internal. |
layerOffset | The layer offset of the USD.Reference. |
primPath | The prim path of the USD.Reference. |
Constructor
USD.Reference | Constructs a USD.Reference object based on the given primPath. |
Details
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
USD.Reference.isInternal
readonly int isInternal
Description
Returns whether or not this USD.Reference is internal.
Do no remove, this fixes the anchor on doc.flexsim.com
USD.Reference.layerOffset
double layerOffset
Description
The layer offset of the USD.Reference.
This property can be used to get and set the layer offset property for references to be used in animations. On USD.Stages, these are set automatically when you export using the Omniverse Connector or save a USD Stage. However, you can toggle it off on a USD Stage and set them yourself (to 0, for example). This will allow you to more easily write your own animation information without having to fight with the automatic writing of offsets.Do no remove, this fixes the anchor on doc.flexsim.com
Do no remove, this fixes the anchor on doc.flexsim.com
USD.Reference Constructor
USD.Reference( string primPath ) |
Parameters
primPath | The prim path of the prim you want to reference. |
Returns
USD.Reference | A USD.Reference object. |
Description
Constructs a USD.Reference object based on the given primPath.