docs.unity3d.com
    Show / Hide Table of Contents

    Class UsdStageWeakPtr

    Inheritance
    Object
    UsdStageWeakPtr
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: pxr
    Syntax
    public class UsdStageWeakPtr : IDisposable

    Constructors

    UsdStageWeakPtr(UsdStage)

    Declaration
    public UsdStageWeakPtr(UsdStage stage)
    Parameters
    Type Name Description
    UsdStage stage

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    __deref__()

    Declaration
    public UsdStage __deref__()
    Returns
    Type Description
    UsdStage

    ClearMetadata(TfToken)

    Declaration
    public bool ClearMetadata(TfToken key)
    Parameters
    Type Name Description
    TfToken key
    Returns
    Type Description
    Boolean

    ClearMetadataByDictKey(TfToken, TfToken)

    Declaration
    public bool ClearMetadataByDictKey(TfToken key, TfToken keyPath)
    Parameters
    Type Name Description
    TfToken key
    TfToken keyPath
    Returns
    Type Description
    Boolean

    Dispose()

    Declaration
    public virtual void Dispose()
    Implements
    IDisposable.Dispose()

    Export(String)

    Declaration
    public bool Export(string filename)
    Parameters
    Type Name Description
    String filename
    Returns
    Type Description
    Boolean

    Export(String, Boolean)

    Declaration
    public bool Export(string filename, bool addSourceFileComment)
    Parameters
    Type Name Description
    String filename
    Boolean addSourceFileComment
    Returns
    Type Description
    Boolean

    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
    Type Name Description
    String filename
    Boolean addSourceFileComment
    SWIGTYPE_p_std__mapT_std__string_std__string_std__lessT_std__string_t_t args
    Returns
    Type Description
    Boolean

    ExportToString(SWIGTYPE_p_std__string)

    Declaration
    public bool ExportToString(SWIGTYPE_p_std__string result)
    Parameters
    Type Name Description
    SWIGTYPE_p_std__string result
    Returns
    Type Description
    Boolean

    ExportToString(SWIGTYPE_p_std__string, Boolean)

    Declaration
    public bool ExportToString(SWIGTYPE_p_std__string result, bool addSourceFileComment)
    Parameters
    Type Name Description
    SWIGTYPE_p_std__string result
    Boolean addSourceFileComment
    Returns
    Type Description
    Boolean

    Finalize()

    Declaration
    protected void Finalize()

    Flatten()

    Declaration
    public SdfLayer Flatten()
    Returns
    Type Description
    SdfLayer

    Flatten(Boolean)

    Declaration
    public SdfLayer Flatten(bool addSourceFileComment)
    Parameters
    Type Name Description
    Boolean addSourceFileComment
    Returns
    Type Description
    SdfLayer

    GetAttributeAtPath(SdfPath)

    Declaration
    public UsdAttribute GetAttributeAtPath(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    UsdAttribute

    GetColorConfiguration()

    Declaration
    public SdfAssetPath GetColorConfiguration()
    Returns
    Type Description
    SdfAssetPath

    GetColorManagementSystem()

    Declaration
    public TfToken GetColorManagementSystem()
    Returns
    Type Description
    TfToken

    GetDefaultPrim()

    Declaration
    public UsdPrim GetDefaultPrim()
    Returns
    Type Description
    UsdPrim

    GetEditTarget()

    Declaration
    public UsdEditTarget GetEditTarget()
    Returns
    Type Description
    UsdEditTarget

    GetEndTimeCode()

    Declaration
    public double GetEndTimeCode()
    Returns
    Type Description
    Double

    GetFramesPerSecond()

    Declaration
    public double GetFramesPerSecond()
    Returns
    Type Description
    Double

    GetInterpolationType()

    Declaration
    public UsdInterpolationType GetInterpolationType()
    Returns
    Type Description
    UsdInterpolationType

    GetLayerStack()

    Declaration
    public SdfLayerHandleVector GetLayerStack()
    Returns
    Type Description
    SdfLayerHandleVector

    GetLayerStack(Boolean)

    Declaration
    public SdfLayerHandleVector GetLayerStack(bool includeSessionLayers)
    Parameters
    Type Name Description
    Boolean includeSessionLayers
    Returns
    Type Description
    SdfLayerHandleVector

    GetLoadRules()

    Declaration
    public UsdStageLoadRules GetLoadRules()
    Returns
    Type Description
    UsdStageLoadRules

    GetMasters()

    Declaration
    public UsdPrimVector GetMasters()
    Returns
    Type Description
    UsdPrimVector

    GetMetadata(TfToken, VtValue)

    Declaration
    public bool GetMetadata(TfToken key, VtValue value)
    Parameters
    Type Name Description
    TfToken key
    VtValue value
    Returns
    Type Description
    Boolean

    GetMetadataByDictKey(TfToken, TfToken, VtValue)

    Declaration
    public bool GetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
    Parameters
    Type Name Description
    TfToken key
    TfToken keyPath
    VtValue value
    Returns
    Type Description
    Boolean

    GetMutedLayers()

    Declaration
    public StdStringVector GetMutedLayers()
    Returns
    Type Description
    StdStringVector

    GetObjectAtPath(SdfPath)

    Declaration
    public UsdObject GetObjectAtPath(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    UsdObject

    GetPathResolverContext()

    Declaration
    public ArResolverContext GetPathResolverContext()
    Returns
    Type Description
    ArResolverContext

    GetPopulationMask()

    Declaration
    public UsdStagePopulationMask GetPopulationMask()
    Returns
    Type Description
    UsdStagePopulationMask

    GetPrimAtPath(SdfPath)

    Declaration
    public UsdPrim GetPrimAtPath(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    UsdPrim

    GetPropertyAtPath(SdfPath)

    Declaration
    public UsdProperty GetPropertyAtPath(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    UsdProperty

    GetPseudoRoot()

    Declaration
    public UsdPrim GetPseudoRoot()
    Returns
    Type Description
    UsdPrim

    GetRelationshipAtPath(SdfPath)

    Declaration
    public UsdRelationship GetRelationshipAtPath(SdfPath path)
    Parameters
    Type Name Description
    SdfPath path
    Returns
    Type Description
    UsdRelationship

    GetRootLayer()

    Declaration
    public SdfLayerHandle GetRootLayer()
    Returns
    Type Description
    SdfLayerHandle

    GetSessionLayer()

    Declaration
    public SdfLayerHandle GetSessionLayer()
    Returns
    Type Description
    SdfLayerHandle

    GetStartTimeCode()

    Declaration
    public double GetStartTimeCode()
    Returns
    Type Description
    Double

    GetTimeCodesPerSecond()

    Declaration
    public double GetTimeCodesPerSecond()
    Returns
    Type Description
    Double

    GetUsedLayers()

    Declaration
    public SdfLayerHandleVector GetUsedLayers()
    Returns
    Type Description
    SdfLayerHandleVector

    GetUsedLayers(Boolean)

    Declaration
    public SdfLayerHandleVector GetUsedLayers(bool includeClipLayers)
    Parameters
    Type Name Description
    Boolean includeClipLayers
    Returns
    Type Description
    SdfLayerHandleVector

    HasAuthoredMetadata(TfToken)

    Declaration
    public bool HasAuthoredMetadata(TfToken key)
    Parameters
    Type Name Description
    TfToken key
    Returns
    Type Description
    Boolean

    HasAuthoredMetadataDictKey(TfToken, TfToken)

    Declaration
    public bool HasAuthoredMetadataDictKey(TfToken key, TfToken keyPath)
    Parameters
    Type Name Description
    TfToken key
    TfToken keyPath
    Returns
    Type Description
    Boolean

    HasAuthoredTimeCodeRange()

    Declaration
    public bool HasAuthoredTimeCodeRange()
    Returns
    Type Description
    Boolean

    HasDefaultPrim()

    Declaration
    public bool HasDefaultPrim()
    Returns
    Type Description
    Boolean

    HasLocalLayer(SdfLayerHandle)

    Declaration
    public bool HasLocalLayer(SdfLayerHandle layer)
    Parameters
    Type Name Description
    SdfLayerHandle layer
    Returns
    Type Description
    Boolean

    HasMetadata(TfToken)

    Declaration
    public bool HasMetadata(TfToken key)
    Parameters
    Type Name Description
    TfToken key
    Returns
    Type Description
    Boolean

    HasMetadataDictKey(TfToken, TfToken)

    Declaration
    public bool HasMetadataDictKey(TfToken key, TfToken keyPath)
    Parameters
    Type Name Description
    TfToken key
    TfToken keyPath
    Returns
    Type Description
    Boolean

    IsLayerMuted(String)

    Declaration
    public bool IsLayerMuted(string layerIdentifier)
    Parameters
    Type Name Description
    String layerIdentifier
    Returns
    Type Description
    Boolean

    ResolveIdentifierToEditTarget(String)

    Declaration
    public string ResolveIdentifierToEditTarget(string identifier)
    Parameters
    Type Name Description
    String identifier
    Returns
    Type Description
    String

    SetColorConfiguration(SdfAssetPath)

    Declaration
    public void SetColorConfiguration(SdfAssetPath colorConfig)
    Parameters
    Type Name Description
    SdfAssetPath colorConfig

    SetColorManagementSystem(TfToken)

    Declaration
    public void SetColorManagementSystem(TfToken cms)
    Parameters
    Type Name Description
    TfToken cms

    SetFramesPerSecond(Double)

    Declaration
    public void SetFramesPerSecond(double framesPerSecond)
    Parameters
    Type Name Description
    Double framesPerSecond

    SetMetadata(TfToken, VtValue)

    Declaration
    public bool SetMetadata(TfToken key, VtValue value)
    Parameters
    Type Name Description
    TfToken key
    VtValue value
    Returns
    Type Description
    Boolean

    SetMetadataByDictKey(TfToken, TfToken, VtValue)

    Declaration
    public bool SetMetadataByDictKey(TfToken key, TfToken keyPath, VtValue value)
    Parameters
    Type Name Description
    TfToken key
    TfToken keyPath
    VtValue value
    Returns
    Type Description
    Boolean

    SetTimeCodesPerSecond(Double)

    Declaration
    public void SetTimeCodesPerSecond(double timeCodesPerSecond)
    Parameters
    Type Name Description
    Double timeCodesPerSecond
    Back to top
    Copyright © 2023 Unity Technologies
    • 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 Thursday, October 19, 2023