Package | Box2D.Collision.Shapes |
Class | public class b2CircleDef |
Inheritance | b2CircleDef ![]() |
Source | b2CircleDef.as |
See also
Property | Defined by | ||
---|---|---|---|
![]() | density : Number = 0.0
The shape's density, usually in kg/m^2.
| b2ShapeDef | |
![]() | filter : b2FilterData
Contact filtering data.
| b2ShapeDef | |
![]() | friction : Number = 0.2
The shape's friction coefficient, usually in the range [0,1].
| b2ShapeDef | |
![]() | isSensor : Boolean = false
A sensor shape collects contact information but never generates a collision
response.
| b2ShapeDef | |
localPosition : b2Vec2
The circle center in local coordinages
| b2CircleDef | ||
radius : Number The circle radius
| b2CircleDef | ||
![]() | restitution : Number = 0.0
The shape's restitution (elasticity) usually in the range [0,1].
| b2ShapeDef | |
![]() | type : int
Holds the shape type for down-casting.
| b2ShapeDef | |
![]() | userData : * = null
Use this to store application specify shape data.
| b2ShapeDef |
Method | Defined by | ||
---|---|---|---|
b2CircleDef |
localPosition | property |
public var localPosition:b2Vec2
The circle center in local coordinages
radius | property |
public var radius:Number
The circle radius
b2CircleDef | () | constructor |
public function b2CircleDef()