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