Свойство | Type | Description | |
---|---|---|---|
Center | Vector2 | ||
Height | int | ||
Width | int |
Méthode | Description | |
---|---|---|
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 | ||
Résultat |
public CollideLineSegment ( |
||
collidingWith | ||
Résultat |
public CollideRay ( |
||
collidingWith | ||
Résultat |
public Contains ( |
||
boundBox | ||
Résultat | bool |
public Intersects ( |
||
boundBox | ||
Résultat | bool |
public static RotateAroundOrigin ( Vector2 point, Vector2 origin, double angle ) : Vector2 | ||
point | Vector2 | |
origin | Vector2 | |
angle | double | |
Résultat | Vector2 |
public ShapeAABB ( |
||
r | ||
rotation | float | |
Résultat | System |
public ShapeAABB ( float x, float y, float width, float height, float rotation ) : System | ||
x | float | |
y | float | |
width | float | |
height | float | |
rotation | float | |
Résultat | System |
public ToRectangle ( ) : |
||
Résultat |