30 lines
602 B
Markdown
30 lines
602 B
Markdown
# Matrix 3x3 Node
|
|
|
|
## Description
|
|
|
|
Defines a constant **Matrix 3x3** value in the shader.
|
|
|
|
## Ports
|
|
|
|
| Name | Direction | Type | Binding | Description |
|
|
|:--- |:---|:---|:---|:---|
|
|
| Out | Output | Matrix 3 | None | Output value |
|
|
|
|
## Controls
|
|
|
|
| Control | Description |
|
|
|:---|:---|
|
|
| (Matrix 3x3) | Sets the matrix 3x3 output value. |
|
|
|
|
## Generated Code Example
|
|
|
|
The following example code represents one possible outcome of this node.
|
|
|
|
```
|
|
float3x3 _Matrix3x3 = float3x3(1, 0, 0, 0, 1, 0, 0, 0, 1);
|
|
```
|
|
|
|
## Additional resources
|
|
|
|
[!include[nodes-example-samples](./snippets/nodes-example-samples.md)]
|