메소드 | 설명 | |
---|---|---|
BoxCollider ( ) : Microsoft.Xna.Framework |
zero param constructor requires that a RenderableComponent be on the entity so that the collider can size itself when the entity is added to the scene.
|
|
BoxCollider ( |
creates a BoxCollider and uses the x/y components of the Rect as the localOffset
|
|
BoxCollider ( float width, float height ) : Microsoft.Xna.Framework | ||
BoxCollider ( float x, float y, float width, float height ) : Microsoft.Xna.Framework |
creates a BoxCollider and uses the x/y components as the localOffset
|
|
ToString ( ) : string | ||
debugRender ( |
||
setHeight ( float height ) : |
||
setWidth ( float width ) : |
public BoxCollider ( |
||
rect | Rect. | |
리턴 | Microsoft.Xna.Framework |
public BoxCollider ( float width, float height ) : Microsoft.Xna.Framework | ||
width | float | |
height | float | |
리턴 | Microsoft.Xna.Framework |
public BoxCollider ( float x, float y, float width, float height ) : Microsoft.Xna.Framework | ||
x | float | The x coordinate. |
y | float | The y coordinate. |
width | float | Width. |
height | float | Height. |
리턴 | Microsoft.Xna.Framework |