Export (0) Print
Expand All

D3DBOX structure

Defines a volume.

Syntax


typedef struct D3DBOX {
  UINT Left;
  UINT Top;
  UINT Right;
  UINT Bottom;
  UINT Front;
  UINT Back;
} D3DBOX, *LPD3DBOX;

Members

Left

Type: UINT

Position of the left side of the box on the x-axis.

Top

Type: UINT

Position of the top of the box on the y-axis.

Right

Type: UINT

Position of the right side of the box on the x-axis.

Bottom

Type: UINT

Position of the bottom of the box on the y-axis.

Front

Type: UINT

Position of the front of the box on the z-axis.

Back

Type: UINT

Position of the back of the box on the z-axis.

Remarks

D3DBOX includes the left, top, and front edges; however, the right, bottom, and back edges are not included. For example, a box that is 100 units wide and begins at 0 (thus, including the points up to and including 99) would be expressed with a value of 0 for the Left member and a value of 100 for the Right member. Note that a value of 99 is not used for the Right member.

The restrictions on side ordering observed for D3DBOX are left to right, top to bottom, and front to back.

Requirements

Header

D3D9Types.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft