![]() |
VR-Forces Developer's Guide
|
class that allows clients to add global forces (no export of virtual base class)

Public Types | |
| enum | ForceType { Repulsor2D, Repulsor3D, Attractor2D, Attractor3D, Spinner2D, LiftVortex, WindVolume, CurlNoise } |
| enum | FalloffType { None, Linear, DistanceSquared } |
Public Member Functions | |
| virtual | ~DtFxForceInterface () |
| virtual void | setPosition (double x, double y, double z)=0 |
| virtual void | setRadius (float radius)=0 |
| virtual void | setForceType (ForceType falloff_type)=0 |
| virtual void | setFalloffType (FalloffType falloff_type)=0 |
| virtual void | setForceStrength (float forceStr)=0 |
| virtual void | setForceDirection (float x, float y, float z)=0 |
|
inlinevirtual |
DTOR.
sets the position of the force
Implemented in makVrv::DtFxForce.
|
pure virtual |
sets the volume of the force, only used for None falloff type, other ones will be derived base on falloff.
Implemented in makVrv::DtFxForce.
|
pure virtual |
sets the type of force
|
pure virtual |
sets the falloff type
|
pure virtual |
sets the force strength
Implemented in makVrv::DtFxForce.
|
pure virtual |
currently only used for wind
Implemented in makVrv::DtFxForce.