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