Package pybox2d :: Module Box2D :: Class b2BuoyancyControllerDef |
[hide private]
[frames] | no frames]

# type b2BuoyancyControllerDef

source code

This class is used to build buoyancy controllers.

Instance Methods | [hide private]
b2BuoyancyControllerDef |
__init__(self) This class is used to build buoyancy controllers. | source code
__repr__(self) | source code
__getstate__(self, additional_ignore=`[``]`) Returns a dictionary representation of self, with dict(var=value [, ...]) | source code
__setstate__(self, dict) Takes each variable=value pair in the dictionary and sets the attributes based on them | source code
__swig_destroy__(...) delete_b2BuoyancyControllerDef(b2BuoyancyControllerDef self) |

Properties | [hide private]
| thisown The membership flag
| normal b2BuoyancyControllerDef_normal_get(b2BuoyancyControllerDef self) -> b2Vec2
| offset b2BuoyancyControllerDef_offset_get(b2BuoyancyControllerDef self) -> float32
| density b2BuoyancyControllerDef_density_get(b2BuoyancyControllerDef self) -> float32
| velocity b2BuoyancyControllerDef_velocity_get(b2BuoyancyControllerDef self) -> b2Vec2
| linearDrag b2BuoyancyControllerDef_linearDrag_get(b2BuoyancyControllerDef self) -> float32
| angularDrag b2BuoyancyControllerDef_angularDrag_get(b2BuoyancyControllerDef self) -> float32
| useDensity b2BuoyancyControllerDef_useDensity_get(b2BuoyancyControllerDef self) -> bool
| useWorldGravity b2BuoyancyControllerDef_useWorldGravity_get(b2BuoyancyControllerDef self) -> bool
| gravity b2BuoyancyControllerDef_gravity_get(b2BuoyancyControllerDef self) -> b2Vec2

Method Details | [hide private]

### __init__(self) (Constructor) | source code
This class is used to build buoyancy controllers. Returns: b2BuoyancyControllerDef Overrides: b2ControllerDef.__init__

### __repr__(self) (Representation operator) | source code
Overrides: b2ControllerDef.__repr__

### __getstate__(self, additional_ignore=`[``]`) | source code
    Returns a dictionary representation of self, with
     dict(var=value [, ...])

    additional_ignore can be specified to ignore certain
    properties.
Overrides: _generic_getstate

### __setstate__(self, dict) | source code
Takes each variable=value pair in the dictionary and sets the attributes based on them Overrides: _generic_setstate

### __swig_destroy__(...) |
delete_b2BuoyancyControllerDef(b2BuoyancyControllerDef self) Overrides: b2ControllerDef.__swig_destroy__

Property Details | [hide private]

### thisown The membership flag

### normal b2BuoyancyControllerDef_normal_get(b2BuoyancyControllerDef self) -> b2Vec2

### offset b2BuoyancyControllerDef_offset_get(b2BuoyancyControllerDef self) -> float32

### density b2BuoyancyControllerDef_density_get(b2BuoyancyControllerDef self) -> float32

### velocity b2BuoyancyControllerDef_velocity_get(b2BuoyancyControllerDef self) -> b2Vec2

### linearDrag b2BuoyancyControllerDef_linearDrag_get(b2BuoyancyControllerDef self) -> float32

### angularDrag b2BuoyancyControllerDef_angularDrag_get(b2BuoyancyControllerDef self) -> float32

### useDensity b2BuoyancyControllerDef_useDensity_get(b2BuoyancyControllerDef self) -> bool

### useWorldGravity b2BuoyancyControllerDef_useWorldGravity_get(b2BuoyancyControllerDef self) -> bool

### gravity b2BuoyancyControllerDef_gravity_get(b2BuoyancyControllerDef self) -> b2Vec2