Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Paradox.Graphics.ResourceRegion Struct Reference

More...

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
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Member Data Documentation

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.


The documentation for this struct was generated from the following file: