|
| LeapGrid (UnityRect rect, int numRows=1, int numCols=1, Margins? cellMargins=null, VerticalOrigin? verticalOrigin=null, bool rowMajor=false) |
|
| LeapGrid (LocalRect rect, int numRows=1, int numCols=1, Margins? cellMargins=null, VerticalOrigin? verticalOrigin=null, bool rowMajor=false) |
|
Cell | GetMerged (int idx0, int idx1) |
|
CellEnumerator | GetEnumerator () |
|
CellEnumerator | EnumerateCells (int subGridBegin, int subGridEnd) |
| Returns a CellEnumerator that enumerates cells within the rectangular subgrid defined by cell indices at two opposite corners of the subgrid. More...
|
|
Definition at line 18 of file LeapGrid.cs.
◆ LeapGrid() [1/2]
Leap.Unity.Geometry.LeapGrid.LeapGrid |
( |
UnityRect |
rect, |
|
|
int |
numRows = 1 , |
|
|
int |
numCols = 1 , |
|
|
Margins? |
cellMargins = null , |
|
|
VerticalOrigin? |
verticalOrigin = null , |
|
|
bool |
rowMajor = false |
|
) |
| |
◆ LeapGrid() [2/2]
Leap.Unity.Geometry.LeapGrid.LeapGrid |
( |
LocalRect |
rect, |
|
|
int |
numRows = 1 , |
|
|
int |
numCols = 1 , |
|
|
Margins? |
cellMargins = null , |
|
|
VerticalOrigin? |
verticalOrigin = null , |
|
|
bool |
rowMajor = false |
|
) |
| |
◆ EnumerateCells()
CellEnumerator Leap.Unity.Geometry.LeapGrid.EnumerateCells |
( |
int |
subGridBegin, |
|
|
int |
subGridEnd |
|
) |
| |
Returns a CellEnumerator that enumerates cells within the rectangular subgrid defined by cell indices at two opposite corners of the subgrid.
Definition at line 146 of file LeapGrid.cs.
◆ GetEnumerator()
◆ GetMerged()
Cell Leap.Unity.Geometry.LeapGrid.GetMerged |
( |
int |
idx0, |
|
|
int |
idx1 |
|
) |
| |
◆ cellMargins
Margins Leap.Unity.Geometry.LeapGrid.cellMargins |
◆ numCols
int Leap.Unity.Geometry.LeapGrid.numCols |
◆ numRows
int Leap.Unity.Geometry.LeapGrid.numRows |
◆ rect
◆ rowMajor
bool Leap.Unity.Geometry.LeapGrid.rowMajor |
◆ verticalOrigin
◆ numCells
int Leap.Unity.Geometry.LeapGrid.numCells |
|
get |
◆ this[int idx]
Cell Leap.Unity.Geometry.LeapGrid.this[int idx] |
|
get |
The documentation for this struct was generated from the following file: