Class PrimvarReaderImportSample<T>
Inherited Members
Namespace: USD.NET.Unity
Syntax
[Serializable]
[UsdSchema("Shader")]
public class PrimvarReaderImportSample<T> : PrimvarReaderSample<T> where T : struct
Type Parameters
Name | Description |
---|---|
T |
Fields
varname
Name of the primvar to be read from the primitive as a string.
Declaration
[InputParameter("_Varname")]
public Connectable<string> varname
Field Value
Type | Description |
---|---|
Connectable<String> |
Remarks
In USD 21.11 the varname was switched from a TfToken to a string. However, as a TfToken can be implicitly converted to a string, making this a string type works for both during import.