|
Panda3D
|
Pure virtual class for sinks and sources. More...
Public Types | |
| enum | FalloffType { FTONEOVERR = 0, FTONEOVERRSQUARED = 1, FTONEOVERRCUBED = 2 } |
Public Member Functions | |
| FalloffType | getFalloffType () |
| falloff_type query | |
| Point3 | getForceCenter () |
| force_center query | |
| float | getRadius () |
| radius query | |
| float | getScalarTerm () |
| calculate the term based on falloff | |
| setFalloffType (FalloffType ft) | |
| falloff_type encapsulating wrap | |
| setForceCenter (Point3 const p) | |
| set the force center | |
| setRadius (float r) | |
| set the radius | |
Static Public Member Functions | |
| static TypeHandle | getClassType () |
Pure virtual class for sinks and sources.
| enum FalloffType |
| static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from LinearForce.
Reimplemented in LinearSinkForce, and LinearSourceForce.
| FalloffType getFalloffType | ( | ) |
falloff_type query
| Point3 getForceCenter | ( | ) |
force_center query
| float getRadius | ( | ) |
radius query
| float getScalarTerm | ( | ) |
calculate the term based on falloff
| setFalloffType | ( | FalloffType | ft | ) |
falloff_type encapsulating wrap
| setForceCenter | ( | Point3 const | p | ) |
set the force center
| setRadius | ( | float | r | ) |
set the radius
1.7.3