Свойство | Type | Description | |
---|---|---|---|
Max | Vector4i | ||
Min | Vector4i | ||
Zero | Box4i |
Méthode | Description | |
---|---|---|
Box4i ( |
Create a Box4i by providing minimum and maximum extents.
|
|
Box4i ( Vector4i min, Vector4i max ) : System |
Create a Box4i by providing minimum and maximum extents.
|
|
Distance ( Vector4i point ) : double |
Get the closest distance between this Box4i and the Vector4i.
|
|
Intersect ( Vector4i point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( Vector4i point ) : Vector4i |
Get the nearest point between this Box4i and a Vector4i. If the Vector4i is inside this Box4i, it is returned untouched.
|
|
NearestPointTo ( Vector4i &point, Vector4i &result ) : void |
Get the nearest point between this Box4i and a Vector4i. If the Vector4i is inside this Box4i, it is returned untouched.
|
|
Overlaps ( Vector4i point ) : bool |
Get whether this Box4i inclusively intersects with the Vector4i.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4i min, Vector4i size ) : |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
Relative ( Vector4i min, Vector4i size, Box4i &result ) : void |
Create a Box4i by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box4i.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box4i.
|
public Box4i ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
maxX | ||
maxY | ||
maxZ | ||
maxW | ||
Résultat | System |
public Box4i ( Vector4i min, Vector4i max ) : System | ||
min | Vector4i | |
max | Vector4i | |
Résultat | System |
public Distance ( Vector4i point ) : double | ||
point | Vector4i | |
Résultat | double |
public Intersect ( Vector4i point ) : Containment | ||
point | Vector4i | |
Résultat | Containment |
public NearestPointTo ( Vector4i point ) : Vector4i | ||
point | Vector4i | |
Résultat | Vector4i |
public NearestPointTo ( Vector4i &point, Vector4i &result ) : void | ||
point | Vector4i | |
result | Vector4i | |
Résultat | void |
public Random ( |
||
rng | ||
result | Vector4i | |
Résultat | void |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
Résultat |
public static Relative ( Vector4i min, Vector4i size ) : |
||
min | Vector4i | |
size | Vector4i | |
Résultat |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
result | ||
Résultat | void |
public static Relative ( Vector4i min, Vector4i size, Box4i &result ) : void | ||
min | Vector4i | |
size | Vector4i | |
result | Box4i | |
Résultat | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
Résultat | string |