[]
Creates a matrix that reflects the coordinate system about a specified plane.
public static Matrix4x4 Reflection(Vector3 normal, float d)
Type | Name | Description |
---|---|---|
Vector3 | normal | The plane's normal vector. |
float | d | The plane's distance from the origin along its normal vector. |
Type | Description |
---|---|
Matrix4x4 | A new matrix expressing the reflection. |