Свойство | Тип | Описание | |
---|---|---|---|
Max | System.Vector3 | ||
Min | System.Vector3 | ||
Zero |
Метод | Описание | |
---|---|---|
Box3 ( Length minX, Length minY, Length minZ, Length maxX, Length maxY, Length maxZ ) : System |
Create a Box3 by providing minimum and maximum extents.
|
|
Box3 ( System.Vector3 min, System.Vector3 max ) : System |
Create a Box3 by providing minimum and maximum extents.
|
|
Distance ( System.Vector3 point ) : Length |
Get the closest distance between this Box3 and the Vector3.
|
|
Intersect ( Frustum frustum ) : Containment |
Get the intersection between a Box3 and a Frustum.
|
|
Intersect ( System.Vector3 point ) : Containment |
Get the intersection type between this box and the point.
|
|
NearestPointTo ( System.Vector3 point ) : System.Vector3 |
Get the nearest point between this Box3 and a Vector3. If the Vector3 is inside this Box3, it is returned untouched.
|
|
NearestPointTo ( System.Vector3 &point, System.Vector3 &result ) : void |
Get the nearest point between this Box3 and a Vector3. If the Vector3 is inside this Box3, it is returned untouched.
|
|
Overlaps ( System.Vector3 point ) : bool |
Get whether this Box3 inclusively intersects with the Vector3.
|
|
Random ( |
Get a random position within the box.
|
|
Random ( |
Get a random position within the box.
|
|
Relative ( Length minX, Length minY, Length minZ, Length sizeX, Length sizeY, Length sizeZ ) : |
Create a Box3 by providing the minimum extent and the size of each side.
|
|
Relative ( System.Vector3 min, System.Vector3 size ) : |
Create a Box3 by providing the minimum extent and the size of each side.
|
|
Relative ( Length minX, Length minY, Length minZ, Length sizeX, Length sizeY, Length sizeZ, |
Create a Box3 by providing the minimum extent and the size of each side.
|
|
Relative ( System.Vector3 min, System.Vector3 size, |
Create a Box3 by providing the minimum extent and the size of each side.
|
|
ToString ( ) : string |
Convert to a string representation of the Box3.
|
|
ToString ( string format, IFormatProvider provider ) : string |
Convert to a string representation of the Box3.
|
public Box3 ( Length minX, Length minY, Length minZ, Length maxX, Length maxY, Length maxZ ) : System | ||
minX | Length | |
minY | Length | |
minZ | Length | |
maxX | Length | |
maxY | Length | |
maxZ | Length | |
Результат | System |
public Box3 ( System.Vector3 min, System.Vector3 max ) : System | ||
min | System.Vector3 | |
max | System.Vector3 | |
Результат | System |
public Distance ( System.Vector3 point ) : Length | ||
point | System.Vector3 | |
Результат | Length |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
Результат | Containment |
public Intersect ( System.Vector3 point ) : Containment | ||
point | System.Vector3 | |
Результат | Containment |
public NearestPointTo ( System.Vector3 point ) : System.Vector3 | ||
point | System.Vector3 | |
Результат | System.Vector3 |
public NearestPointTo ( System.Vector3 &point, System.Vector3 &result ) : void | ||
point | System.Vector3 | |
result | System.Vector3 | |
Результат | void |
public Overlaps ( System.Vector3 point ) : bool | ||
point | System.Vector3 | |
Результат | bool |
public Random ( |
||
rng | ||
Результат | System.Vector3 |
public Random ( |
||
rng | ||
result | System.Vector3 | |
Результат | void |
public static Relative ( Length minX, Length minY, Length minZ, Length sizeX, Length sizeY, Length sizeZ ) : |
||
minX | Length | |
minY | Length | |
minZ | Length | |
sizeX | Length | |
sizeY | Length | |
sizeZ | Length | |
Результат |
public static Relative ( System.Vector3 min, System.Vector3 size ) : |
||
min | System.Vector3 | |
size | System.Vector3 | |
Результат |
public static Relative ( Length minX, Length minY, Length minZ, Length sizeX, Length sizeY, Length sizeZ, |
||
minX | Length | |
minY | Length | |
minZ | Length | |
sizeX | Length | |
sizeY | Length | |
sizeZ | Length | |
result | ||
Результат | void |
public static Relative ( System.Vector3 min, System.Vector3 size, |
||
min | System.Vector3 | |
size | System.Vector3 | |
result | ||
Результат | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
Результат | string |