[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.Reflection

Reflection Method

Reflection(Vector3, float)

Creates a matrix that reflects the coordinate system about a specified plane.

Declaration
public static Matrix4x4 Reflection(Vector3 normal, float d)
Parameters
Type Name Description
Vector3 normal

The plane's normal vector.

float d

The plane's distance from the origin along its normal vector.

Returns
Type Description
Matrix4x4

A new matrix expressing the reflection.