Property | Type | Description | |
---|---|---|---|
Max | Vector3i | ||
Min | Vector3i | ||
Zero |
Method | Description | |
---|---|---|
Box3i ( |
Create a Box3i by providing minimum and maximum extents.
|
|
Box3i ( Vector3i min, Vector3i max ) : System |
Create a Box3i by providing minimum and maximum extents.
|
|
Distance ( Vector3i point ) : double |
Get the closest distance between this Box3i and the Vector3i.
|
|
Intersect ( Frustum frustum ) : Containment |
Get the intersection between a Box3i and a Frustum.
|
|
Intersect ( Vector3i point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( Vector3i point ) : Vector3i |
Get the nearest point between this Box3i and a Vector3i. If the Vector3i is inside this Box3i, it is returned untouched.
|
|
NearestPointTo ( Vector3i &point, Vector3i &result ) : void |
Get the nearest point between this Box3i and a Vector3i. If the Vector3i is inside this Box3i, it is returned untouched.
|
|
Overlaps ( Vector3i point ) : bool |
Get whether this Box3i inclusively intersects with the Vector3i.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( |
Create a Box3i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector3i min, Vector3i size ) : |
Create a Box3i by providing the minimum extent and the size of each side.
|
|
Relative ( |
Create a Box3i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector3i min, Vector3i size, |
Create a Box3i by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box3i.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box3i.
|
public Box3i ( |
||
minX | ||
minY | ||
minZ | ||
maxX | ||
maxY | ||
maxZ | ||
return | System |
public Box3i ( Vector3i min, Vector3i max ) : System | ||
min | Vector3i | |
max | Vector3i | |
return | System |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
return | Containment |
public Intersect ( Vector3i point ) : Containment | ||
point | Vector3i | |
return | Containment |
public NearestPointTo ( Vector3i point ) : Vector3i | ||
point | Vector3i | |
return | Vector3i |
public NearestPointTo ( Vector3i &point, Vector3i &result ) : void | ||
point | Vector3i | |
result | Vector3i | |
return | void |
public Random ( |
||
rng | ||
result | Vector3i | |
return | void |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
sizeX | ||
sizeY | ||
sizeZ | ||
return |
public static Relative ( Vector3i min, Vector3i size ) : |
||
min | Vector3i | |
size | Vector3i | |
return |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
sizeX | ||
sizeY | ||
sizeZ | ||
result | ||
return | void |
public static Relative ( Vector3i min, Vector3i size, |
||
min | Vector3i | |
size | Vector3i | |
result | ||
return | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
return | string |