Class Transform2dSample
The following is based on the Pixar specification found here: https://graphics.pixar.com/usd/docs/UsdPreviewSurface-Proposal.html Transform 2d represents a node that can be used to transform 2d data (for instance, texture coordinates). The node applies the following transformation : in * scale * rotate + translation
Namespace: USD.NET.Unity
Assembly: solution.dll
Syntax
[Serializable]
public class Transform2dSample : ShaderSample
Constructors
Name | Description |
---|---|
Transform2d |
|
Transform2d |
Fields
Name | Description |
---|---|
in | This input provides the data. It is usually connected to a UsdPrimvarReader_float2 that will provide the data. |
outputs | Outputs transformed float2 values. |
rotation | Counter-clockwise rotation in degrees around the origin to be applied to all components of the data. |
scale | Scale around the origin to be applied to all components of the data. |
translation | Translation to be applied to all components of the data. |