Struct ResourceRegion
Defines a 3D box.
public struct ResourceRegion
- Inherited Members
- Extension Methods
Remarks
The following diagram shows a 3D box, where the origin is the left, front, top corner.
The values for right, bottom, and back are each one pixel past the end of the pixels that are included in the box region. That is, the values for left, top, and front are included in the box region while the values for right, bottom, and back are excluded from the box region. For example, for a box that is one pixel wide, (right - left) == 1; the box region includes the left pixel but not the right pixel.
Constructors
ResourceRegion(int, int, int, int, int, int)
public ResourceRegion(int left, int top, int front, int right, int bottom, int back)
Parameters
Fields
Back
The z position of the back of the box.
public int Back
Field Value
Bottom
The y position of the bottom of the box.
public int Bottom
Field Value
Front
The z position of the front of the box.
public int Front
Field Value
Left
The x position of the left hand side of the box.
public int Left
Field Value
Right
The x position of the right hand side of the box.
public int Right
Field Value
Top
The y position of the top of the box.
public int Top