Class Box
Definition
- Namespace:
- Tizen.NUI.Physics2D.Chipmunk
- Assembly:
- Tizen.NUI.Physics2D.dll
- Inheritance
-
Constructors
View Source
Box(Body, double, double, double)
Create and initialize a box polygon shape.
Declaration
public Box(Body body, double width, double height, double radius)
Parameters
Type |
Name |
Description |
Body |
body |
|
double |
width |
|
double |
height |
|
double |
radius |
|
View Source
Box(Body, BoundingBox, double)
Create and initialize an offset box polygon shape.
Declaration
public Box(Body body, BoundingBox box, double radius)
Parameters
Methods
View Source
MomentForBox(double, double, double)
Calculate the moment of inertia for a solid box.
Declaration
public static double MomentForBox(double mass, double width, double height)
Parameters
Type |
Name |
Description |
double |
mass |
|
double |
width |
|
double |
height |
|
Returns
View Source
MomentForBox(double, BoundingBox)
Calculate the moment of inertia for a solid box.
Declaration
public static double MomentForBox(double mass, BoundingBox boundingBox)
Parameters
Type |
Name |
Description |
double |
mass |
|
BoundingBox |
boundingBox |
|
Returns
Extension Methods