Microsoft DirectX 8.1 (Visual Basic)

D3DXPlaneTransform

Transforms a plane by a given matrix.

D3DXPlaneTransform( _ 
    POut As D3DPLANE, _ 
    P As D3DPLANE, _ 
    M As D3DMATRIX)

Parameters

POut
D3DPLANE type that is the result of the operation, the transformed plane.
P
The source D3DPLANE type.
M
The source D3DMATRIX type.

Error Codes

If the function fails, an error is raised and Err.Number can be set to one of the following values.

D3DERR_INVALIDCALL
D3DERR_OUTOFVIDEOMEMORY

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

Remarks

The matrix, M, must be an affine transform.