[]
        
(Showing Draft Content)

C1.Util.DX.Matrix4x4.ReflectionRef

ReflectionRef Method

ReflectionRef(out Matrix4x4, ref Vector3, float)

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

Declaration
public static void ReflectionRef(out Matrix4x4 result, ref Vector3 normal, float d)
Parameters
Type Name Description
Matrix4x4 result

A new matrix expressing the reflection.

Vector3 normal

The plane's normal vector.

float d

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