프로퍼티 | 타입 | 설명 | |
---|---|---|---|
lowerBound | Vector2 | ||
upperBound | Vector2 |
메소드 | 설명 | |
---|---|---|
AABB ( Vector2 min, Vector2 max ) : System | ||
AABB ( Vector2 center, float width, float height ) : System | ||
combine ( |
Combine an AABB into this one.
|
|
combine ( |
Combine two AABBs into this one.
|
|
contains ( |
Does this aabb contain the provided AABB.
|
|
contains ( Vector2 &point ) : bool |
Determines whether the AAABB contains the specified point.
|
|
isValid ( ) : bool |
Verify that the bounds are sorted. And the bounds are valid numbers (not NaN).
|
|
rayCast ( |
Raycast against this AABB using the specificed points and maxfraction (found in input)
|
|
testOverlap ( |
Test if the two AABBs overlap.
|
public AABB ( Vector2 center, float width, float height ) : System | ||
center | Vector2 | |
width | float | |
height | float | |
리턴 | System |
public combine ( |
||
aabb1 | The aabb1. | |
aabb2 | The aabb2. | |
리턴 | void |
public rayCast ( |
||
output | Output. | |
input | Input. | |
doInteriorCheck | bool | If set to |
리턴 | bool |
public static testOverlap ( |
||
a | The first AABB. | |
b | The second AABB. | |
리턴 | bool |