Microsoft DirectX 8.1 (Visual Basic)

D3DBOX

Defines a volume.

Type D3DBOX
    back As Long
    bottom As Long
    front As Long
    left As Long
    right As Long
    top As Long
End Type

Members

back, bottom, front, left, right, and top
The dimensions of the box.

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.