docs.unity3d.com
    Show / Hide Table of Contents

    Class SdfReference

    Inheritance
    Object
    SdfReference
    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 SdfReference : IDisposable

    Constructors

    SdfReference()

    Declaration
    public SdfReference()

    SdfReference(String)

    Declaration
    public SdfReference(string assetPath)
    Parameters
    Type Name Description
    String assetPath

    SdfReference(String, SdfPath)

    Declaration
    public SdfReference(string assetPath, SdfPath primPath)
    Parameters
    Type Name Description
    String assetPath
    SdfPath primPath

    SdfReference(String, SdfPath, SdfLayerOffset)

    Declaration
    public SdfReference(string assetPath, SdfPath primPath, SdfLayerOffset layerOffset)
    Parameters
    Type Name Description
    String assetPath
    SdfPath primPath
    SdfLayerOffset layerOffset

    SdfReference(String, SdfPath, SdfLayerOffset, VtDictionary)

    Declaration
    public SdfReference(string assetPath, SdfPath primPath, SdfLayerOffset layerOffset, VtDictionary customData)
    Parameters
    Type Name Description
    String assetPath
    SdfPath primPath
    SdfLayerOffset layerOffset
    VtDictionary customData

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    Dispose()

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

    Finalize()

    Declaration
    protected void Finalize()

    GetAssetPath()

    Declaration
    public string GetAssetPath()
    Returns
    Type Description
    String

    GetCustomData()

    Declaration
    public VtDictionary GetCustomData()
    Returns
    Type Description
    VtDictionary

    GetLayerOffset()

    Declaration
    public SdfLayerOffset GetLayerOffset()
    Returns
    Type Description
    SdfLayerOffset

    GetPrimPath()

    Declaration
    public SdfPath GetPrimPath()
    Returns
    Type Description
    SdfPath

    IsInternal()

    Declaration
    public bool IsInternal()
    Returns
    Type Description
    Boolean

    SetAssetPath(String)

    Declaration
    public void SetAssetPath(string assetPath)
    Parameters
    Type Name Description
    String assetPath

    SetCustomData(VtDictionary)

    Declaration
    public void SetCustomData(VtDictionary customData)
    Parameters
    Type Name Description
    VtDictionary customData

    SetCustomData(String, VtValue)

    Declaration
    public void SetCustomData(string name, VtValue value)
    Parameters
    Type Name Description
    String name
    VtValue value

    SetLayerOffset(SdfLayerOffset)

    Declaration
    public void SetLayerOffset(SdfLayerOffset layerOffset)
    Parameters
    Type Name Description
    SdfLayerOffset layerOffset

    SetPrimPath(SdfPath)

    Declaration
    public void SetPrimPath(SdfPath primPath)
    Parameters
    Type Name Description
    SdfPath primPath

    SwapCustomData(VtDictionary)

    Declaration
    public void SwapCustomData(VtDictionary customData)
    Parameters
    Type Name Description
    VtDictionary customData
    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