Class UsdStageWeakPtr
Inheritance
UsdStageWeakPtr
Namespace: pxr
Syntax
public class UsdStageWeakPtr : IDisposable
Constructors
UsdStageWeakPtr(UsdStage)
Declaration
public UsdStageWeakPtr(UsdStage stage)
Parameters
Fields
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Methods
__deref__()
Declaration
public UsdStage __deref__()
Returns
Declaration
public bool ClearMetadata(TfToken key)
Parameters
Returns
Declaration
public bool ClearMetadataByDictKey(TfToken key, TfToken keyPath)
Parameters
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Export(String)
Declaration
public bool Export(string filename)
Parameters
Type |
Name |
Description |
String |
filename |
|
Returns
Export(String, Boolean)
Declaration
public bool Export(string filename, bool addSourceFileComment)
Parameters
Type |
Name |
Description |
String |
filename |
|
Boolean |
addSourceFileComment |
|
Returns
Export(String, Boolean, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t)
Declaration
public bool Export(string filename, bool addSourceFileComment, SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args)
Parameters
Returns
ExportToString(SWIGTYPE_p_std__string)
Declaration
public bool ExportToString(SWIGTYPE_p_std__string result)
Parameters
Returns
ExportToString(SWIGTYPE_p_std__string, Boolean)
Declaration
public bool ExportToString(SWIGTYPE_p_std__string result, bool addSourceFileComment)
Parameters
Returns
Finalize()
Declaration
protected void Finalize()
Flatten()
Declaration
public SdfLayer Flatten()
Returns
Flatten(Boolean)
Declaration
public SdfLayer Flatten(bool addSourceFileComment)
Parameters
Type |
Name |
Description |
Boolean |
addSourceFileComment |
|
Returns
GetAttributeAtPath(SdfPath)
Declaration
public UsdAttribute GetAttributeAtPath(SdfPath path)
Parameters
Returns
GetColorConfiguration()
Declaration
public SdfAssetPath GetColorConfiguration()
Returns
GetColorManagementSystem()
Declaration
public TfToken GetColorManagementSystem()
Returns
GetDefaultPrim()
Declaration
public UsdPrim GetDefaultPrim()
Returns
GetEditTarget()
Declaration
public UsdEditTarget GetEditTarget()
Returns
GetEndTimeCode()
Declaration
public double GetEndTimeCode()
Returns
GetFramesPerSecond()
Declaration
public double GetFramesPerSecond()
Returns
GetInterpolationType()
Declaration
public UsdInterpolationType GetInterpolationType()
Returns
GetLayerStack()
Declaration
public SdfLayerHandleVector GetLayerStack()
Returns
GetLayerStack(Boolean)
Declaration
public SdfLayerHandleVector GetLayerStack(bool includeSessionLayers)
Parameters
Type |
Name |
Description |
Boolean |
includeSessionLayers |
|
Returns
GetLoadRules()
Declaration
public UsdStageLoadRules GetLoadRules()
Returns
GetMasters()
Declaration
public UsdPrimVector GetMasters()
Returns
Declaration
public bool GetMetadata(TfToken key, VtValue value)
Parameters
Returns
Declaration
public bool GetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
Parameters
Returns
GetMutedLayers()
Declaration
public StdStringVector GetMutedLayers()
Returns
GetObjectAtPath(SdfPath)
Declaration
public UsdObject GetObjectAtPath(SdfPath path)
Parameters
Returns
GetPathResolverContext()
Declaration
public ArResolverContext GetPathResolverContext()
Returns
GetPopulationMask()
Declaration
public UsdStagePopulationMask GetPopulationMask()
Returns
GetPrimAtPath(SdfPath)
Declaration
public UsdPrim GetPrimAtPath(SdfPath path)
Parameters
Returns
GetPropertyAtPath(SdfPath)
Declaration
public UsdProperty GetPropertyAtPath(SdfPath path)
Parameters
Returns
GetPseudoRoot()
Declaration
public UsdPrim GetPseudoRoot()
Returns
GetRelationshipAtPath(SdfPath)
Declaration
public UsdRelationship GetRelationshipAtPath(SdfPath path)
Parameters
Returns
GetRootLayer()
Declaration
public SdfLayerHandle GetRootLayer()
Returns
GetSessionLayer()
Declaration
public SdfLayerHandle GetSessionLayer()
Returns
GetStartTimeCode()
Declaration
public double GetStartTimeCode()
Returns
GetTimeCodesPerSecond()
Declaration
public double GetTimeCodesPerSecond()
Returns
GetUsedLayers()
Declaration
public SdfLayerHandleVector GetUsedLayers()
Returns
GetUsedLayers(Boolean)
Declaration
public SdfLayerHandleVector GetUsedLayers(bool includeClipLayers)
Parameters
Type |
Name |
Description |
Boolean |
includeClipLayers |
|
Returns
Declaration
public bool HasAuthoredMetadata(TfToken key)
Parameters
Returns
Declaration
public bool HasAuthoredMetadataDictKey(TfToken key, TfToken keyPath)
Parameters
Returns
HasAuthoredTimeCodeRange()
Declaration
public bool HasAuthoredTimeCodeRange()
Returns
HasDefaultPrim()
Declaration
public bool HasDefaultPrim()
Returns
HasLocalLayer(SdfLayerHandle)
Declaration
public bool HasLocalLayer(SdfLayerHandle layer)
Parameters
Returns
Declaration
public bool HasMetadata(TfToken key)
Parameters
Returns
Declaration
public bool HasMetadataDictKey(TfToken key, TfToken keyPath)
Parameters
Returns
IsLayerMuted(String)
Declaration
public bool IsLayerMuted(string layerIdentifier)
Parameters
Type |
Name |
Description |
String |
layerIdentifier |
|
Returns
ResolveIdentifierToEditTarget(String)
Declaration
public string ResolveIdentifierToEditTarget(string identifier)
Parameters
Type |
Name |
Description |
String |
identifier |
|
Returns
SetColorConfiguration(SdfAssetPath)
Declaration
public void SetColorConfiguration(SdfAssetPath colorConfig)
Parameters
SetColorManagementSystem(TfToken)
Declaration
public void SetColorManagementSystem(TfToken cms)
Parameters
SetFramesPerSecond(Double)
Declaration
public void SetFramesPerSecond(double framesPerSecond)
Parameters
Type |
Name |
Description |
Double |
framesPerSecond |
|
Declaration
public bool SetMetadata(TfToken key, VtValue value)
Parameters
Returns
Declaration
public bool SetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
Parameters
Returns
SetTimeCodesPerSecond(Double)
Declaration
public void SetTimeCodesPerSecond(double timeCodesPerSecond)
Parameters
Type |
Name |
Description |
Double |
timeCodesPerSecond |
|
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.