Class MeshSampleBase
Inheritance
MeshSampleBase
Implements
IArbitraryPrimvars
Inherited Members
Namespace: USD.NET.Unity
Assembly: solution.dll
Syntax
[Serializable]
public class MeshSampleBase : PointBasedSample, IArbitraryPrimvars
Constructors
Name | Description |
---|---|
MeshSampleBase() |
Fields
Name | Description |
---|---|
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. |
faceVertexIndices | |
normals | |
points | |
tangents |
Methods
Name | Description |
---|---|
AddPrimvars(List<string>) | |
GetArbitraryPrimvars() |