Method ConnectToSource
ConnectToSource(UsdShadeConnectionSourceInfo, UsdShadeConnectionModification)
Declaration
public bool ConnectToSource(UsdShadeConnectionSourceInfo source, UsdShadeConnectionModification mod)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeConnectionSourceInfo | source | |
UsdShadeConnectionModification | mod |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeConnectionSourceInfo)
Declaration
public bool ConnectToSource(UsdShadeConnectionSourceInfo source)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeConnectionSourceInfo | source |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType, SdfValueTypeName)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType, SdfValueTypeName typeName)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeConnectableAPI | source | |
TfToken | sourceName | |
UsdShadeAttributeType | sourceType | |
SdfValueTypeName | typeName |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeConnectableAPI, TfToken, UsdShadeAttributeType)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName, UsdShadeAttributeType sourceType)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeConnectableAPI | source | |
TfToken | sourceName | |
UsdShadeAttributeType | sourceType |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeConnectableAPI, TfToken)
Declaration
public bool ConnectToSource(UsdShadeConnectableAPI source, TfToken sourceName)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeConnectableAPI | source | |
TfToken | sourceName |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(SdfPath)
Declaration
public bool ConnectToSource(SdfPath sourcePath)
Parameters
Type | Name | Description |
---|---|---|
SdfPath | sourcePath |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeInput)
Declaration
public bool ConnectToSource(UsdShadeInput sourceInput)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeInput | sourceInput |
Returns
Type | Description |
---|---|
bool |
ConnectToSource(UsdShadeOutput)
Declaration
public bool ConnectToSource(UsdShadeOutput sourceOutput)
Parameters
Type | Name | Description |
---|---|---|
UsdShadeOutput | sourceOutput |
Returns
Type | Description |
---|---|
bool |