Property | Type | Description | |
---|---|---|---|
Max | System.Vector3 | ||
Min | System.Vector3 | ||
Zero |
Method | Description | |
---|---|---|
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 | |
return | System |
public Box3 ( System.Vector3 min, System.Vector3 max ) : System | ||
min | System.Vector3 | |
max | System.Vector3 | |
return | System |
public Distance ( System.Vector3 point ) : Length | ||
point | System.Vector3 | |
return | Length |
public Intersect ( Frustum frustum ) : Containment | ||
frustum | Frustum | |
return | Containment |
public Intersect ( System.Vector3 point ) : Containment | ||
point | System.Vector3 | |
return | Containment |
public NearestPointTo ( System.Vector3 point ) : System.Vector3 | ||
point | System.Vector3 | |
return | System.Vector3 |
public NearestPointTo ( System.Vector3 &point, System.Vector3 &result ) : void | ||
point | System.Vector3 | |
result | System.Vector3 | |
return | void |
public Overlaps ( System.Vector3 point ) : bool | ||
point | System.Vector3 | |
return | bool |
public Random ( |
||
rng | ||
return | System.Vector3 |
public Random ( |
||
rng | ||
result | System.Vector3 | |
return | 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 | |
return |
public static Relative ( System.Vector3 min, System.Vector3 size ) : |
||
min | System.Vector3 | |
size | System.Vector3 | |
return |
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 | ||
return | void |
public static Relative ( System.Vector3 min, System.Vector3 size, |
||
min | System.Vector3 | |
size | System.Vector3 | |
result | ||
return | void |
public ToString ( string format, IFormatProvider provider ) : string | ||
format | string | |
provider | IFormatProvider | |
return | string |