Method AddUVPrimvar
AddUVPrimvar(MeshSample, string, Vector2[])
Add a UV primvar to the mesh sample's ArbitraryPrimvars.
Declaration
public static void AddUVPrimvar(MeshSample sample, string uvName, Vector2[] uvData)
Parameters
| Type | Name | Description |
|---|---|---|
| MeshSample | sample | the mesh sample container for the primvars |
| string | uvName | output uv channel name |
| Vector2[] | uvData | output uv channel data |