#include <iVelocityComponent.h>
Inherits igor::iEntityComponent.
◆ iVelocityComponent()
ctor
- Parameters
-
velocity | the velocity to set |
angularVelocity | the angular velocity to set |
◆ createInstance()
creates instance of this component type
◆ getAngularVelocity()
IGOR_INLINE const iaVector3d & igor::iVelocityComponent::getAngularVelocity |
( |
| ) |
const |
|
inline |
◆ getInfo()
std::vector< iaString > igor::iVelocityComponent::getInfo |
( |
| ) |
const |
|
overridevirtual |
◆ getTypeName()
const iaString & igor::iVelocityComponent::getTypeName |
( |
| ) |
|
|
static |
- Returns
- type name of component
◆ getVelocity()
IGOR_INLINE const iaVector3d & igor::iVelocityComponent::getVelocity |
( |
| ) |
const |
|
inline |
◆ setAngularVelocity()
void igor::iVelocityComponent::setAngularVelocity |
( |
const iaVector3d & |
angularVelocity | ) |
|
sets angular velocity
- Parameters
-
angularVelocity | the angular velocity to set |
◆ setVelocity()
void igor::iVelocityComponent::setVelocity |
( |
const iaVector3d & |
velocity | ) |
|
sets velocity
- Parameters
-
velocity | the velocity to set |
The documentation for this class was generated from the following files: