D3DHAL_DP2SETCLIPPLANE
This structure allows user defined clip planes to be used in world space.
typedef struct _D3DHAL_DP2SETCLIPPLANE {
DWORD dwIndex;
D3DVALUE plane[4];
} D3DHAL_DP2SETCLIPPLANE, *LPD3DHAL_DP2SETCLIPPLANE;
Members
- dwIndex
Is the index of the clipping plane for which the plane equation coefficients will be set. - plane
Is 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
OS Versions: Windows CE .NET 4.0 and later.
Header: D3dhal.h.
See Also
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.