docs.unity3d.com
    Show / Hide Table of Contents

    Class NdrProperty

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

    Constructors

    NdrProperty(TfToken, TfToken, VtValue, Boolean, UInt32, Boolean, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t)

    Declaration
    public NdrProperty(TfToken name, TfToken type, VtValue defaultValue, bool isOutput, uint arraySize, bool isDynamicArray, SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata)
    Parameters
    Type Name Description
    TfToken name
    TfToken type
    VtValue defaultValue
    Boolean isOutput
    UInt32 arraySize
    Boolean isDynamicArray
    SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t metadata

    Fields

    swigCMemOwn

    Declaration
    protected bool swigCMemOwn
    Field Value
    Type Description
    Boolean

    Methods

    CanConnectTo(NdrProperty)

    Declaration
    public virtual bool CanConnectTo(NdrProperty other)
    Parameters
    Type Name Description
    NdrProperty other
    Returns
    Type Description
    Boolean

    Dispose()

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

    Finalize()

    Declaration
    protected void Finalize()

    GetArraySize()

    Declaration
    public int GetArraySize()
    Returns
    Type Description
    Int32

    GetDefaultValue()

    Declaration
    public VtValue GetDefaultValue()
    Returns
    Type Description
    VtValue

    GetInfoString()

    Declaration
    public virtual string GetInfoString()
    Returns
    Type Description
    String

    GetMetadata()

    Declaration
    public virtual SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t GetMetadata()
    Returns
    Type Description
    SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t

    GetName()

    Declaration
    public TfToken GetName()
    Returns
    Type Description
    TfToken

    GetTfType()

    Declaration
    public TfToken GetTfType()
    Returns
    Type Description
    TfToken

    GetTypeAsSdfType()

    Declaration
    public virtual SWIGTYPE_p_std__pairT_SdfValueTypeName_TfToken_t GetTypeAsSdfType()
    Returns
    Type Description
    SWIGTYPE_p_std__pairT_SdfValueTypeName_TfToken_t

    IsArray()

    Declaration
    public bool IsArray()
    Returns
    Type Description
    Boolean

    IsConnectable()

    Declaration
    public virtual bool IsConnectable()
    Returns
    Type Description
    Boolean

    IsDynamicArray()

    Declaration
    public bool IsDynamicArray()
    Returns
    Type Description
    Boolean

    IsOutput()

    Declaration
    public bool IsOutput()
    Returns
    Type Description
    Boolean
    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