Empeld
Empeld plugin documentation.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events
pluginbase.Helpers.Buffers.BufferSpace3d< T > Class Template Reference

Buffer that has a size, but represents 3D space using offsets More...

Public Member Functions

 BufferSpace3d (int x, int y, int z, int w, int l, int h)
 Create a buffer space with x,y,z offsets with the size of w,l,h More...
 

Public Attributes

readonly int Width
 The width of the buffer More...
 
readonly int Length
 The length of the buffer More...
 
readonly int Height
 The height of the buffer More...
 
readonly int OffX
 The X offset of the buffer space More...
 
readonly int OffY
 The Y offset of the buffer space More...
 
readonly int OffZ
 The Z offset of the buffer space More...
 

Detailed Description

Buffer that has a size, but represents 3D space using offsets

Constructor & Destructor Documentation

pluginbase.Helpers.Buffers.BufferSpace3d< T >.BufferSpace3d ( int  x,
int  y,
int  z,
int  w,
int  l,
int  h 
)

Create a buffer space with x,y,z offsets with the size of w,l,h

Parameters
xThe x coordinate.
yThe y coordinate.
zThe z coordinate.
wThe width.
lL.
hThe height.

Attribute: w*l*h

;

51  {
52  Width = w;
53  Length = l;
54  Height = h;
55  OffX = x;
56  OffY = y;
57  OffZ = z;
58  _data = new T[w*l*h];
59  }
readonly int OffZ
The Z offset of the buffer space
Definition: BufferSpace3d.cs:37
readonly int Length
The length of the buffer
Definition: BufferSpace3d.cs:17
readonly int Height
The height of the buffer
Definition: BufferSpace3d.cs:22
readonly int OffY
The Y offset of the buffer space
Definition: BufferSpace3d.cs:32
readonly int OffX
The X offset of the buffer space
Definition: BufferSpace3d.cs:27
readonly int Width
The width of the buffer
Definition: BufferSpace3d.cs:12

Member Data Documentation

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.Height

The height of the buffer

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.Length

The length of the buffer

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.OffX

The X offset of the buffer space

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.OffY

The Y offset of the buffer space

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.OffZ

The Z offset of the buffer space

readonly int pluginbase.Helpers.Buffers.BufferSpace3d< T >.Width

The width of the buffer


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