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

type b2TensorDampingControllerDef

source code


This class is used to build tensor damping controllers.

Instance Methods [hide private]
 
__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
b2TensorDampingControllerDef
__init__(self) source code
 
__swig_destroy__(...)
delete_b2TensorDampingControllerDef(b2TensorDampingControllerDef self)
 
SetAxisAligned(...)
b2TensorDampingControllerDef_SetAxisAligned(b2TensorDampingControllerDef self, float32 xDamping, float32 yDamping)
source code
Properties [hide private]
  thisown
The membership flag
  T
b2TensorDampingControllerDef_T_get(b2TensorDampingControllerDef self) -> b2Mat22
  maxTimestep
b2TensorDampingControllerDef_maxTimestep_get(b2TensorDampingControllerDef self) -> float32
Method Details [hide private]

__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

__init__(self)
(Constructor)

source code 
Returns: b2TensorDampingControllerDef
Overrides: b2ControllerDef.__init__

__swig_destroy__(...)

 

delete_b2TensorDampingControllerDef(b2TensorDampingControllerDef self)

Overrides: b2ControllerDef.__swig_destroy__

SetAxisAligned(...)

source code 

b2TensorDampingControllerDef_SetAxisAligned(b2TensorDampingControllerDef self, float32 xDamping, 
    float32 yDamping)

Sets damping independantly along the x and y axes.


Property Details [hide private]

thisown

The membership flag

T

b2TensorDampingControllerDef_T_get(b2TensorDampingControllerDef self) -> b2Mat22

maxTimestep

b2TensorDampingControllerDef_maxTimestep_get(b2TensorDampingControllerDef self) -> float32