Class UsdShadeOutput
Inheritance
UsdShadeOutput
Namespace: pxr
Syntax
public class UsdShadeOutput : IDisposable
Constructors
UsdShadeOutput()
Declaration
UsdShadeOutput(UsdAttribute)
Declaration
public UsdShadeOutput(UsdAttribute attr)
Parameters
Fields
swigCMemOwn
Declaration
protected bool swigCMemOwn
Field Value
Methods
CanConnect(UsdAttribute)
Declaration
public bool CanConnect(UsdAttribute source)
Parameters
Returns
Declaration
public bool CanConnect(UsdShadeInput sourceInput)
Parameters
Returns
CanConnect(UsdShadeOutput)
Declaration
public bool CanConnect(UsdShadeOutput sourceOutput)
Parameters
Returns
Declaration
public void ClearSdrMetadata()
Declaration
public void ClearSdrMetadataByKey(TfToken key)
Parameters
ClearSource()
Declaration
public bool ClearSource()
Returns
ConnectToSource(SdfPath)
Declaration
public bool ConnectToSource(SdfPath sourcePath)
Parameters
Type |
Name |
Description |
SdfPath |
sourcePath |
|
Returns
ConnectToSource(UsdShadeConnectableAPI, TfToken)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName)
Parameters
Returns
ConnectToSource(UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType)
Parameters
Returns
ConnectToSource(UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType, SdfValueTypeName)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
Parameters
Returns
Declaration
public bool ConnectToSource(UsdShadeInput sourceInput)
Parameters
Returns
ConnectToSource(UsdShadeOutput)
Declaration
public bool ConnectToSource(UsdShadeOutput sourceOutput)
Parameters
Returns
DisconnectSource()
Declaration
public bool DisconnectSource()
Returns
Dispose()
Declaration
public virtual void Dispose()
Implements
Finalize()
Declaration
protected void Finalize()
GetAttr()
Declaration
public UsdAttribute GetAttr()
Returns
GetBaseName()
Declaration
public TfToken GetBaseName()
Returns
GetConnectedSource(UsdShadeConnectableAPI, TfToken, out UsdShadeAttributeType)
Declaration
public bool GetConnectedSource(UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
Parameters
Returns
GetFullName()
Declaration
public TfToken GetFullName()
Returns
GetPrim()
Declaration
Returns
GetRawConnectedSourcePaths(SdfPathVector)
Declaration
public bool GetRawConnectedSourcePaths(SdfPathVector sourcePaths)
Parameters
Returns
GetRenderType()
Declaration
public TfToken GetRenderType()
Returns
Declaration
public SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t GetSdrMetadata()
Returns
Declaration
public string GetSdrMetadataByKey(TfToken key)
Parameters
Returns
GetTypeName()
Declaration
public SdfValueTypeName GetTypeName()
Returns
HasConnectedSource()
Declaration
public bool HasConnectedSource()
Returns
HasRenderType()
Declaration
public bool HasRenderType()
Returns
Declaration
public bool HasSdrMetadata()
Returns
Declaration
public bool HasSdrMetadataByKey(TfToken key)
Parameters
Returns
IsDefined()
Declaration
Returns
IsOutput(UsdAttribute)
Declaration
public static bool IsOutput(UsdAttribute attr)
Parameters
Returns
IsSourceConnectionFromBaseMaterial()
Declaration
public bool IsSourceConnectionFromBaseMaterial()
Returns
Set(VtValue)
Declaration
public bool Set(VtValue value)
Parameters
Type |
Name |
Description |
VtValue |
value |
|
Returns
Set(VtValue, UsdTimeCode)
Declaration
public bool Set(VtValue value, UsdTimeCode time)
Parameters
Returns
SetRenderType(TfToken)
Declaration
public bool SetRenderType(TfToken renderType)
Parameters
Type |
Name |
Description |
TfToken |
renderType |
|
Returns
Declaration
public void SetSdrMetadata(SWIGTYPE_p_std__unordered_mapT_TfToken_std__string_TfToken__HashFunctor_t sdrMetadata)
Parameters
Declaration
public void SetSdrMetadataByKey(TfToken key, string value)
Parameters
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.