Свойство | Type | Description | |
---|---|---|---|
Max | Vector3i | ||
Min | Vector3i | ||
Zero |
Méthode | 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 | ||
Résultat | System |
public Box3i ( Vector3i min, Vector3i max ) : System | ||
min | Vector3i | |
max | Vector3i | |
Résultat | System |
public Distance ( Vector3i point ) : double | ||
point | Vector3i | |
Résultat | double |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
Résultat | Containment |
public Intersect ( Vector3i point ) : Containment | ||
point | Vector3i | |
Résultat | Containment |
public NearestPointTo ( Vector3i point ) : Vector3i | ||
point | Vector3i | |
Résultat | Vector3i |
public NearestPointTo ( Vector3i &point, Vector3i &result ) : void | ||
point | Vector3i | |
result | Vector3i | |
Résultat | void |
public Random ( |
||
rng | ||
result | Vector3i | |
Résultat | void |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
sizeX | ||
sizeY | ||
sizeZ | ||
Résultat |
public static Relative ( Vector3i min, Vector3i size ) : |
||
min | Vector3i | |
size | Vector3i | |
Résultat |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
sizeX | ||
sizeY | ||
sizeZ | ||
result | ||
Résultat | void |
public static Relative ( Vector3i min, Vector3i size, |
||
min | Vector3i | |
size | Vector3i | |
result | ||
Résultat | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
Résultat | string |