Class UsdShadeConnectableAPI
Inheritance
UsdShadeConnectableAPI
Namespace: pxr
Syntax
public class UsdShadeConnectableAPI : UsdAPISchemaBase, IDisposable
Constructors
UsdShadeConnectableAPI()
Declaration
public UsdShadeConnectableAPI()
UsdShadeConnectableAPI(UsdPrim)
Declaration
public UsdShadeConnectableAPI(UsdPrim prim)
Parameters
UsdShadeConnectableAPI(UsdSchemaBase)
Declaration
public UsdShadeConnectableAPI(UsdSchemaBase schemaObj)
Parameters
UsdShadeConnectableAPI(UsdShadeNodeGraph)
Declaration
public UsdShadeConnectableAPI(UsdShadeNodeGraph nodeGraph)
Parameters
UsdShadeConnectableAPI(UsdShadeShader)
Declaration
public UsdShadeConnectableAPI(UsdShadeShader shader)
Parameters
Methods
Declaration
public static bool CanConnect(UsdShadeInput input, UsdAttribute source)
Parameters
Returns
Declaration
public static bool CanConnect(UsdShadeInput input, UsdShadeInput sourceInput)
Parameters
Returns
Declaration
public static bool CanConnect(UsdShadeInput input, UsdShadeOutput sourceOutput)
Parameters
Returns
CanConnect(UsdShadeOutput)
Declaration
public static bool CanConnect(UsdShadeOutput output)
Parameters
Returns
CanConnect(UsdShadeOutput, UsdAttribute)
Declaration
public static bool CanConnect(UsdShadeOutput output, UsdAttribute source)
Parameters
Returns
Declaration
public static bool CanConnect(UsdShadeOutput output, UsdShadeInput sourceInput)
Parameters
Returns
CanConnect(UsdShadeOutput, UsdShadeOutput)
Declaration
public static bool CanConnect(UsdShadeOutput output, UsdShadeOutput sourceOutput)
Parameters
Returns
ClearSource(UsdAttribute)
Declaration
public static bool ClearSource(UsdAttribute shadingAttr)
Parameters
Returns
Declaration
public static bool ClearSource(UsdShadeInput input)
Parameters
Returns
ClearSource(UsdShadeOutput)
Declaration
public static bool ClearSource(UsdShadeOutput output)
Parameters
Returns
ConnectToSource(UsdAttribute, SdfPath)
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, SdfPath sourcePath)
Parameters
Returns
ConnectToSource(UsdAttribute, UsdShadeConnectableAPI, TfToken)
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName)
Parameters
Returns
ConnectToSource(UsdAttribute, UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType)
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType)
Parameters
Returns
ConnectToSource(UsdAttribute, UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType, SdfValueTypeName)
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeInput sourceInput)
Parameters
Returns
ConnectToSource(UsdAttribute, UsdShadeOutput)
Declaration
public static bool ConnectToSource(UsdAttribute shadingAttr, UsdShadeOutput sourceOutput)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, SdfPath sourcePath)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, UsdShadeInput sourceInput)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeInput input, UsdShadeOutput sourceOutput)
Parameters
Returns
ConnectToSource(UsdShadeOutput, SdfPath)
Declaration
public static bool ConnectToSource(UsdShadeOutput output, SdfPath sourcePath)
Parameters
Returns
ConnectToSource(UsdShadeOutput, UsdShadeConnectableAPI, TfToken)
Declaration
public static bool ConnectToSource(UsdShadeOutput output, UsdShadeConnectableAPI source, TfToken sourceName)
Parameters
Returns
ConnectToSource(UsdShadeOutput, UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType)
Declaration
public static bool ConnectToSource(UsdShadeOutput output, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType)
Parameters
Returns
ConnectToSource(UsdShadeOutput, UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType, SdfValueTypeName)
Declaration
public static bool ConnectToSource(UsdShadeOutput output, UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
Parameters
Returns
Declaration
public static bool ConnectToSource(UsdShadeOutput output, UsdShadeInput sourceInput)
Parameters
Returns
ConnectToSource(UsdShadeOutput, UsdShadeOutput)
Declaration
public static bool ConnectToSource(UsdShadeOutput output, UsdShadeOutput sourceOutput)
Parameters
Returns
Declaration
public UsdShadeInput CreateInput(TfToken name, SdfValueTypeName typeName)
Parameters
Returns
CreateOutput(TfToken, SdfValueTypeName)
Declaration
public UsdShadeOutput CreateOutput(TfToken name, SdfValueTypeName typeName)
Parameters
Returns
DisconnectSource(UsdAttribute)
Declaration
public static bool DisconnectSource(UsdAttribute shadingAttr)
Parameters
Returns
Declaration
public static bool DisconnectSource(UsdShadeInput input)
Parameters
Returns
DisconnectSource(UsdShadeOutput)
Declaration
public static bool DisconnectSource(UsdShadeOutput output)
Parameters
Returns
Dispose()
Declaration
public override void Dispose()
Overrides
Finalize()
Declaration
protected void Finalize()
Get(UsdStageWeakPtr, SdfPath)
Declaration
public static UsdShadeConnectableAPI Get(UsdStageWeakPtr stage, SdfPath path)
Parameters
Returns
GetConnectedSource(UsdAttribute, UsdShadeConnectableAPI, TfToken, out UsdShadeAttributeType)
Declaration
public static bool GetConnectedSource(UsdAttribute shadingAttr, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
Parameters
Returns
Declaration
public static bool GetConnectedSource(UsdShadeInput input, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
Parameters
Returns
GetConnectedSource(UsdShadeOutput, UsdShadeConnectableAPI, TfToken, out UsdShadeAttributeType)
Declaration
public static bool GetConnectedSource(UsdShadeOutput output, UsdShadeConnectableAPI source, TfToken sourceName, out UsdShadeAttributeType sourceType)
Parameters
Returns
Declaration
public UsdShadeInput GetInput(TfToken name)
Parameters
Returns
Declaration
public UsdShadeInputVector GetInputs()
Returns
GetOutput(TfToken)
Declaration
public UsdShadeOutput GetOutput(TfToken name)
Parameters
Returns
GetOutputs()
Declaration
public UsdShadeOutputVector GetOutputs()
Returns
GetRawConnectedSourcePaths(UsdAttribute, SdfPathVector)
Declaration
public static bool GetRawConnectedSourcePaths(UsdAttribute shadingAttr, SdfPathVector sourcePaths)
Parameters
Returns
Declaration
public static bool GetRawConnectedSourcePaths(UsdShadeInput input, SdfPathVector sourcePaths)
Parameters
Returns
GetRawConnectedSourcePaths(UsdShadeOutput, SdfPathVector)
Declaration
public static bool GetRawConnectedSourcePaths(UsdShadeOutput output, SdfPathVector sourcePaths)
Parameters
Returns
GetSchemaAttributeNames()
Declaration
public static TfTokenVector GetSchemaAttributeNames()
Returns
GetSchemaAttributeNames(Boolean)
Declaration
public static TfTokenVector GetSchemaAttributeNames(bool includeInherited)
Parameters
Type |
Name |
Description |
Boolean |
includeInherited |
|
Returns
HasConnectedSource(UsdAttribute)
Declaration
public static bool HasConnectedSource(UsdAttribute shadingAttr)
Parameters
Returns
Declaration
public static bool HasConnectedSource(UsdShadeInput input)
Parameters
Returns
HasConnectedSource(UsdShadeOutput)
Declaration
public static bool HasConnectedSource(UsdShadeOutput output)
Parameters
Returns
IsNodeGraph()
Declaration
public bool IsNodeGraph()
Returns
IsShader()
Declaration
Returns
IsSourceConnectionFromBaseMaterial(UsdAttribute)
Declaration
public static bool IsSourceConnectionFromBaseMaterial(UsdAttribute shadingAttr)
Parameters
Returns
Declaration
public static bool IsSourceConnectionFromBaseMaterial(UsdShadeInput input)
Parameters
Returns
IsSourceConnectionFromBaseMaterial(UsdShadeOutput)
Declaration
public static bool IsSourceConnectionFromBaseMaterial(UsdShadeOutput output)
Parameters
Returns