Struct ParameterInfo
A class describing a single shader parameter, used to simplify reading values from USD.
Inherited Members
Namespace: USD.NET.Unity
Syntax
public struct ParameterInfo
Fields
connectedPath
A source connected to the parameter, null if not connected. Note that this path will always target an attribute, not the prim itself.
Declaration
public string connectedPath
Field Value
Type | Description |
---|---|
String |
requiredShaderKeywords
Some shaders require enabling keywords to enable features, this is the list of required keywords associated with this parameter.
Declaration
public string[] requiredShaderKeywords
Field Value
Type | Description |
---|---|
String[] |
unityName
The name of the parameter, as declared in the Unity shader source file.
Declaration
public string unityName
Field Value
Type | Description |
---|---|
String |
usdName
The name of the parameter, as declared in the USD Sample class.
Declaration
public string usdName
Field Value
Type | Description |
---|---|
String |
value
The value to use when the parameter is not connected.
Declaration
public object value
Field Value
Type | Description |
---|---|
Object |
Methods
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |