Class CoreMatrixUtils
Set of utility functions for the Core Scriptable Render Pipeline Library related to Matrix operations
Inherited Members
Namespace: UnityEngine .Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public static class CoreMatrixUtils
Methods
Name | Description |
---|---|
Matrix |
This function provides the equivalent of multiplying matrix parameter inOutMatrix with a translation matrix defined by the parameter translation. The order of the equivalent multiplication is inOutMatrix * translation. |
Multiply |
Multiplies a matrix with an orthographic matrix. This function is faster than performing the full matrix multiplication. The operation order is ortho * rhs. |
Multiply |
Multiplies a matrix with a perspective matrix. This function is faster than performing the full matrix multiplication. The operation order is perspective * rhs. |
Multiply |
Multiplies a matrix with a projection matrix. This function is faster than performing the full matrix multiplication. The operation order is projMatrix * rhs. |
Translation |
This function provides the equivalent of multiplying a translation matrix defined by the parameter translation with the matrix specified by the parameter inOutMatrix. The order of the equivalent multiplication is translation * inOutMatrix. |