Expand Minimize

D3DDDIARG_SETCLIPPLANE structure

The D3DDDIARG_SETCLIPPLANE structure describes a clip plane.

Syntax


typedef struct _D3DDDIARG_SETCLIPPLANE {
  UINT  Index;
  FLOAT Plane[4];
} D3DDDIARG_SETCLIPPLANE;

Members

Index

[in] The index of the clipping plane for which the plane equation coefficients are set.

Plane

[in] A four-element array of the coefficients A, B, C, and D, in that order, in the general plane equation for the clipping plane.

Remarks

The general plane equation in standard form is Ax + By + Cz + Dw = 0. A point with homogeneous coordinates (x, y, z, w) is visible in the half-space of this plane if Ax + By + Cz + Dw >= 0. Points that exist on or behind the clipping plane are clipped from the scene. That is, points for which Ax + By + Cz + Dw < 0 are clipped.

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

D3dumddi.h (include D3dumddi.h)

See also

SetClipPlane

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft