OSDN Git Service

new project
[mindgames/Mindgames_main.git] / Mindgames / Library / PackageCache / com.unity.shadergraph@6.9.0 / Documentation~ / Matrix-Determinant-Node.md
1 # Matrix Determinant
2
3 ## Description
4
5 Returns the determinant of the matrix defined by input **In**. It can be viewed as the scaling factor of the transformation described by the matrix.
6
7 ## Ports
8
9 | Name        | Direction           | Type  | Description |
10 |:------------ |:-------------|:-----|:---|
11 | In      | Input | Dynamic Matrix | Input value |
12 | Out | Output      |    Vector 1 | Output value |
13
14 ## Generated Code Example
15
16 The following example code represents one possible outcome of this node.
17
18 ```
19 void Unity_MatrixDeterminant_float4x4(float4x4 In, out float Out)
20 {
21     Out = determinant(In);
22 }
23 ```