Method | Description | |
---|---|---|
CreateBreakableBody ( |
||
CreateBreakableBody ( |
||
CreateBreakableBody ( |
||
CreateBreakableBody ( |
Creates a breakable body. You would want to remove collinear points before using this.
|
|
CreateCapsule ( |
||
CreateCapsule ( |
||
CreateCapsule ( |
||
CreateCapsule ( |
Creates a capsule. Note: Automatically decomposes the capsule if it contains too many vertices (controlled by Settings.MaxPolygonVertices)
|
|
CreateCircle ( |
||
CreateCircle ( |
||
CreateCircle ( |
||
CreateCircle ( |
||
CreateCircle ( float radius, float density, |
||
CreateCircle ( float radius, float density, |
||
CreateCircle ( float radius, float density, |
||
CreateCircle ( float radius, float density, |
||
CreateCompoundPolygon ( List |
||
CreateCompoundPolygon ( List |
||
CreateCompoundPolygon ( |
||
CreateCompoundPolygon ( |
||
CreateCompoundPolygon ( |
||
CreateCompoundPolygon ( |
||
CreateCompoundPolygon ( |
||
CreateEdge ( Vector2 start, Vector2 end, |
||
CreateEdge ( Vector2 start, Vector2 end, |
||
CreateEdge ( |
||
CreateEdge ( |
||
CreateEllipse ( |
||
CreateEllipse ( |
||
CreateEllipse ( |
||
CreateEllipse ( |
||
CreateEllipse ( float xRadius, float yRadius, int edges, float density, |
||
CreateEllipse ( float xRadius, float yRadius, int edges, float density, |
||
CreateGear ( |
||
CreateGear ( |
||
CreateLoopShape ( Vertices vertices, float density, |
||
CreateLoopShape ( Vertices vertices, float density, |
||
CreateLoopShape ( |
||
CreateLoopShape ( |
||
CreateLoopShape ( |
||
CreateLoopShape ( |
||
CreatePolygon ( Vertices vertices, float density, |
||
CreatePolygon ( Vertices vertices, float density, |
||
CreatePolygon ( |
||
CreatePolygon ( |
||
CreatePolygon ( |
||
CreatePolygon ( |
||
CreateRectangle ( |
||
CreateRectangle ( |
||
CreateRectangle ( |
||
CreateRectangle ( |
||
CreateRectangle ( float width, float height, float density, Vector2 offset, |
||
CreateRectangle ( float width, float height, float density, Vector2 offset, |
Special overload that takes in an existing body.
|
|
CreateRoundedRectangle ( |
||
CreateRoundedRectangle ( |
||
CreateRoundedRectangle ( |
||
CreateRoundedRectangle ( |
Creates a rounded rectangle. Note: Automatically decomposes the capsule if it contains too many vertices (controlled by Settings.MaxPolygonVertices)
|
public static CreateBreakableBody ( |
||
world | ||
vertices | Vertices | |
density | float | |
return |
public static CreateBreakableBody ( |
||
world | ||
vertices | Vertices | |
density | float | |
userData | Object | |
return |
public static CreateBreakableBody ( |
||
world | ||
vertices | Vertices | |
density | float | |
position | Vector2 | |
return |
public static CreateBreakableBody ( |
||
world | The world. | |
vertices | Vertices | The vertices. |
density | float | The density. |
position | Vector2 | The position. |
userData | Object | |
return |
public static CreateCapsule ( |
||
world | ||
height | float | |
endRadius | float | |
density | float | |
return | List |
public static CreateCapsule ( |
||
world | ||
height | float | |
endRadius | float | |
density | float | |
userData | Object | |
return | List |
public static CreateCapsule ( |
||
world | ||
height | float | |
topRadius | float | |
topEdges | int | |
bottomRadius | float | |
bottomEdges | int | |
density | float | |
position | Vector2 | |
return | List |
public static CreateCapsule ( |
||
world | The world. | |
height | float | The height. |
topRadius | float | The top radius. |
topEdges | int | The top edges. |
bottomRadius | float | The bottom radius. |
bottomEdges | int | The bottom edges. |
density | float | The density. |
position | Vector2 | The position. |
userData | Object | |
return | List |
public static CreateCircle ( |
||
world | ||
radius | float | |
density | float | |
return |
public static CreateCircle ( |
||
world | ||
radius | float | |
density | float | |
userData | Object | |
return |
public static CreateCircle ( |
||
world | ||
radius | float | |
density | float | |
position | Vector2 | |
return |
public static CreateCircle ( |
||
world | ||
radius | float | |
density | float | |
position | Vector2 | |
userData | Object | |
return |
public static CreateCircle ( float radius, float density, |
||
radius | float | |
density | float | |
body | ||
return |
public static CreateCircle ( float radius, float density, |
||
radius | float | |
density | float | |
body | ||
userData | Object | |
return |
public static CreateCircle ( float radius, float density, |
||
radius | float | |
density | float | |
body | ||
offset | Vector2 | |
return |
public static CreateCircle ( float radius, float density, |
||
radius | float | |
density | float | |
body | ||
offset | Vector2 | |
userData | Object | |
return |
public static CreateCompoundPolygon ( List |
||
list | List |
|
density | float | |
body | ||
return | List |
public static CreateCompoundPolygon ( List |
||
list | List |
|
density | float | |
body | ||
userData | Object | |
return | List |
public static CreateCompoundPolygon ( |
||
world | ||
list | List |
|
density | float | |
return | List |
public static CreateCompoundPolygon ( |
||
world | ||
list | List |
|
density | float | |
type | BodyType | |
return | List |
public static CreateCompoundPolygon ( |
||
world | ||
list | List |
|
density | float | |
userData | Object | |
return | List |
public static CreateCompoundPolygon ( |
||
world | ||
list | List |
|
density | float | |
position | Vector2 | |
return | List |
public static CreateCompoundPolygon ( |
||
world | ||
list | List |
|
density | float | |
position | Vector2 | |
userData | Object | |
return | List |
public static CreateEdge ( Vector2 start, Vector2 end, |
||
start | Vector2 | |
end | Vector2 | |
body | ||
return |
public static CreateEdge ( Vector2 start, Vector2 end, |
||
start | Vector2 | |
end | Vector2 | |
body | ||
userData | Object | |
return |
public static CreateEdge ( |
||
world | ||
start | Vector2 | |
end | Vector2 | |
return |
public static CreateEdge ( |
||
world | ||
start | Vector2 | |
end | Vector2 | |
userData | Object | |
return |
public static CreateEllipse ( |
||
world | ||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
return |
public static CreateEllipse ( |
||
world | ||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
userData | Object | |
return |
public static CreateEllipse ( |
||
world | ||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
position | Vector2 | |
return |
public static CreateEllipse ( |
||
world | ||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
position | Vector2 | |
userData | Object | |
return |
public static CreateEllipse ( float xRadius, float yRadius, int edges, float density, |
||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
body | ||
return |
public static CreateEllipse ( float xRadius, float yRadius, int edges, float density, |
||
xRadius | float | |
yRadius | float | |
edges | int | |
density | float | |
body | ||
userData | Object | |
return |
public static CreateGear ( |
||
world | ||
radius | float | |
numberOfTeeth | int | |
tipPercentage | float | |
toothHeight | float | |
density | float | |
return | List |
public static CreateGear ( |
||
world | ||
radius | float | |
numberOfTeeth | int | |
tipPercentage | float | |
toothHeight | float | |
density | float | |
userData | Object | |
return | List |
public static CreateLoopShape ( Vertices vertices, float density, |
||
vertices | Vertices | |
density | float | |
body | ||
return |
public static CreateLoopShape ( Vertices vertices, float density, |
||
vertices | Vertices | |
density | float | |
body | ||
userData | Object | |
return |
public static CreateLoopShape ( |
||
world | ||
vertices | Vertices | |
density | float | |
return |
public static CreateLoopShape ( |
||
world | ||
vertices | Vertices | |
density | float | |
userData | Object | |
return |
public static CreateLoopShape ( |
||
world | ||
vertices | Vertices | |
density | float | |
position | Vector2 | |
return |
public static CreateLoopShape ( |
||
world | ||
vertices | Vertices | |
density | float | |
position | Vector2 | |
userData | Object | |
return |
public static CreatePolygon ( Vertices vertices, float density, |
||
vertices | Vertices | |
density | float | |
body | ||
return |
public static CreatePolygon ( Vertices vertices, float density, |
||
vertices | Vertices | |
density | float | |
body | ||
userData | Object | |
return |
public static CreatePolygon ( |
||
world | ||
vertices | Vertices | |
density | float | |
return |
public static CreatePolygon ( |
||
world | ||
vertices | Vertices | |
density | float | |
userData | Object | |
return |
public static CreatePolygon ( |
||
world | ||
vertices | Vertices | |
density | float | |
position | Vector2 | |
return |
public static CreatePolygon ( |
||
world | ||
vertices | Vertices | |
density | float | |
position | Vector2 | |
userData | Object | |
return |
public static CreateRectangle ( |
||
world | ||
width | float | |
height | float | |
density | float | |
return |
public static CreateRectangle ( |
||
world | ||
width | float | |
height | float | |
density | float | |
userData | Object | |
return |
public static CreateRectangle ( |
||
world | ||
width | float | |
height | float | |
density | float | |
position | Vector2 | |
return |
public static CreateRectangle ( |
||
world | ||
width | float | |
height | float | |
density | float | |
position | Vector2 | |
userData | Object | |
return |
public static CreateRectangle ( float width, float height, float density, Vector2 offset, |
||
width | float | |
height | float | |
density | float | |
offset | Vector2 | |
body | ||
return |
public static CreateRectangle ( float width, float height, float density, Vector2 offset, |
||
width | float | The width. |
height | float | The height. |
density | float | The density. |
offset | Vector2 | The offset. The new shape is offset by this value |
body | The body. | |
userData | Object | |
return |
public static CreateRoundedRectangle ( |
||
world | ||
width | float | |
height | float | |
xRadius | float | |
yRadius | float | |
segments | int | |
density | float | |
return | List |
public static CreateRoundedRectangle ( |
||
world | ||
width | float | |
height | float | |
xRadius | float | |
yRadius | float | |
segments | int | |
density | float | |
userData | Object | |
return | List |
public static CreateRoundedRectangle ( |
||
world | ||
width | float | |
height | float | |
xRadius | float | |
yRadius | float | |
segments | int | |
density | float | |
position | Vector2 | |
return | List |
public static CreateRoundedRectangle ( |
||
world | The world. | |
width | float | The width. |
height | float | The height. |
xRadius | float | The x radius. |
yRadius | float | The y radius. |
segments | int | The segments. |
density | float | The density. |
position | Vector2 | The position. |
userData | Object | |
return | List |