XMMatrixReflect

Builds a transformation matrix designed to reflect vectors through a given plane.

Syntax

XMMATRIX XMMatrixReflect(
         XMVECTOR ReflectionPlane
)  

Parameters

ReflectionPlane
Type: XMVECTOR 

Plane to reflect through.

Return value

Type: XMMATRIX 

Returns the transformation matrix.

Requirements

Header: Declared in directxmath.h.