프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Center | Vector2 | ||
Height | int | ||
Width | int |
메소드 | 설명 | |
---|---|---|
CollideAABB ( |
||
CollideLineSegment ( |
||
CollideRay ( |
||
Contains ( |
||
Intersects ( |
||
RotateAroundOrigin ( Vector2 point, Vector2 origin, double angle ) : Vector2 | ||
ShapeAABB ( |
||
ShapeAABB ( float x, float y, float width, float height, float rotation ) : System | ||
ToRectangle ( ) : |
public CollideAABB ( |
||
bound2 | ||
리턴 |
public CollideLineSegment ( |
||
collidingWith | ||
리턴 |
public CollideRay ( |
||
collidingWith | ||
리턴 |
public static RotateAroundOrigin ( Vector2 point, Vector2 origin, double angle ) : Vector2 | ||
point | Vector2 | |
origin | Vector2 | |
angle | double | |
리턴 | Vector2 |
public ShapeAABB ( |
||
r | ||
rotation | float | |
리턴 | System |
public ShapeAABB ( float x, float y, float width, float height, float rotation ) : System | ||
x | float | |
y | float | |
width | float | |
height | float | |
rotation | float | |
리턴 | System |