Matrix4x4Ext.GetObliqueMatrix Method
Computes a projection matrix so that it has an oblique near clip plane.
Namespace: UltimateXR.Extensions.Unity.Math
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Matrix4x4 GetObliqueMatrix(
this Matrix4x4 projection,
Vector4 clipPlane
)
Parameters
- projection
- Type: Matrix4x4
Projection matrix - clipPlane
- Type: Vector4
Clipping plane in camera space
Return Value
Type: Matrix4x4
Projection matrix with oblique clip plane
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Matrix4x4. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also
Reference
Matrix4x4Ext Class
UltimateXR.Extensions.Unity.Math Namespace