Field ArbitraryPrimvars
Container to hold extra primvars properties This is typically used to only deserialize the specific uv properties used by a mesh material and can only be discovered when materials have been processed. This could be extended to contains user defined primvars. Note the ForceNoNamespace attribute that instruct the deserialization code to keep the attributes in the "primvars" namespace. In unity mesh attributes are the same size as the vertex array so let's set the default interpolation to varying. When reading from USD the actual interpolation mode will be set.
Namespace: USD.NET.Unity
Assembly: solution.dll
Syntax
public Dictionary<string, Primvar<object>> ArbitraryPrimvars
Returns
Type | Description |
---|---|
Dictionary<string, Primvar<object>> |