Свойство | Тип | Описание | |
---|---|---|---|
Max | Vector4i | ||
Min | Vector4i | ||
Zero | Box4i |
Метод | Описание | |
---|---|---|
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 | ||
Результат | System |
public Box4i ( Vector4i min, Vector4i max ) : System | ||
min | Vector4i | |
max | Vector4i | |
Результат | System |
public Distance ( Vector4i point ) : double | ||
point | Vector4i | |
Результат | double |
public Intersect ( Vector4i point ) : Containment | ||
point | Vector4i | |
Результат | Containment |
public NearestPointTo ( Vector4i point ) : Vector4i | ||
point | Vector4i | |
Результат | Vector4i |
public NearestPointTo ( Vector4i &point, Vector4i &result ) : void | ||
point | Vector4i | |
result | Vector4i | |
Результат | void |
public Random ( |
||
rng | ||
Результат | Vector4i |
public Random ( |
||
rng | ||
result | Vector4i | |
Результат | void |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
Результат |
public static Relative ( Vector4i min, Vector4i size ) : |
||
min | Vector4i | |
size | Vector4i | |
Результат |
public static Relative ( |
||
minX | ||
minY | ||
minZ | ||
minW | ||
sizeX | ||
sizeY | ||
sizeZ | ||
sizeW | ||
result | ||
Результат | void |
public static Relative ( Vector4i min, Vector4i size, Box4i &result ) : void | ||
min | Vector4i | |
size | Vector4i | |
result | Box4i | |
Результат | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
Результат | string |