![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
ResourceRegion (int left, int top, int front, int right, int bottom, int back) | |
Public Attributes | |
int | Left |
int | Top |
int | Front |
int | Right |
int | Bottom |
int | Back |
Defines a 3D box.
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.
Definition at line 35 of file ResourceRegion.cs.
SiliconStudio.Paradox.Graphics.ResourceRegion.ResourceRegion | ( | int | left, |
int | top, | ||
int | front, | ||
int | right, | ||
int | bottom, | ||
int | back | ||
) |
Definition at line 37 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Back |
The z position of the back of the box.
Definition at line 75 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Bottom |
The y position of the bottom of the box.
Definition at line 70 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Front |
The z position of the front of the box.
Definition at line 60 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Left |
The x position of the left hand side of the box.
Definition at line 50 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Right |
The x position of the right hand side of the box.
Definition at line 65 of file ResourceRegion.cs.
int SiliconStudio.Paradox.Graphics.ResourceRegion.Top |
The y position of the top of the box.
Definition at line 55 of file ResourceRegion.cs.