Метод | Описание | |
---|---|---|
AxisAlignedBox ( ) : System | ||
AxisAlignedBox ( |
||
AxisAlignedBox ( Vector3 min, Vector3 max ) : System | ||
Clone ( ) : object | ||
Contains ( Vector3 v ) : bool |
Tests whether the given point contained by this box.
|
|
Equals ( object obj ) : bool | ||
FromDimensions ( Vector3 center, Vector3 size ) : |
Return new bounding box from the supplied dimensions.
|
|
GetHashCode ( ) : int | ||
Intersection ( |
Calculate the area of intersection of this box and another
|
|
Intersects ( |
Returns whether or not this box intersects another.
|
|
Intersects ( |
|
|
Intersects ( |
Tests whether this box intersects a sphere.
|
|
Intersects ( Vector3 vector ) : bool |
Tests whether the vector point is within this box.
|
|
Merge ( |
Allows for merging two boxes together (combining).
|
|
Merge ( Vector3 point ) : void |
Extends the box to encompass the specified point (if needed).
|
|
Scale ( Vector3 factor ) : void |
Scales the size of the box by the supplied factor.
|
|
SetExtents ( Vector3 min, Vector3 max ) : void |
Sets both Minimum and Maximum at once, so that UpdateCorners only needs to be called once as well.
|
|
ToString ( ) : string | ||
Transform ( |
|
|
operator ( ) : bool |
Метод | Описание | |
---|---|---|
UpdateCorners ( ) : void |
|
public AxisAlignedBox ( |
||
box | ||
Результат | System |
public AxisAlignedBox ( Vector3 min, Vector3 max ) : System | ||
min | Vector3 | |
max | Vector3 | |
Результат | System |
public static FromDimensions ( Vector3 center, Vector3 size ) : |
||
center | Vector3 | Center of the new box |
size | Vector3 | Entire size of the new box |
Результат |
public Intersection ( |
||
b2 | ||
Результат |
public Intersects ( |
||
box2 | ||
Результат | bool |
public Intersects ( |
||
sphere | ||
Результат | bool |
public Intersects ( Vector3 vector ) : bool | ||
vector | Vector3 | |
Результат | bool |
public Merge ( |
||
box | Source box. | |
Результат | void |
public Scale ( Vector3 factor ) : void | ||
factor | Vector3 | Factor of scaling to apply to the box. |
Результат | void |
public SetExtents ( Vector3 min, Vector3 max ) : void | ||
min | Vector3 | |
max | Vector3 | |
Результат | void |
public Transform ( |
||
matrix | ||
Результат | void |