![]() |
VR-Forces 4.8 Class Documentation
|
class that allows clients to add global forces (no export of virtual base class) More...

Public Types | |
| enum | ForceType { Repulsor2D, Repulsor3D, Attractor2D, Attractor3D, Spinner2D, LiftVortex, WindVolume, CurlNoise } |
| enum | FalloffType { None, Linear, DistanceSquared } |
Public Member Functions | |
| virtual | ~DtFxForceInterface () |
| DTOR. More... | |
| virtual void | setPosition (double x, double y, double z)=0 |
| sets the position of the force More... | |
| virtual void | setRadius (float radius)=0 |
| sets the volume of the force, only used for None falloff type, other ones will be derived base on falloff. More... | |
| virtual void | setForceType (ForceType falloff_type)=0 |
| sets the type of force More... | |
| virtual void | setFalloffType (FalloffType falloff_type)=0 |
| sets the falloff type More... | |
| virtual void | setForceStrength (float forceStr)=0 |
| sets the force strength More... | |
| virtual void | setForceDirection (float x, float y, float z)=0 |
| currently only used for wind More... | |
class that allows clients to add global forces (no export of virtual base class)
|
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.