PixelLightAPI
.
|
Scene node modifier class moving the position of a scene node along a given path. More...
#include <SNMPositionPath.h>
Public Types | |
enum | EInterpolation { Linear = 0, CatmullRomCurve = 1 } |
Interpolation type. More... | |
Public Member Functions | |
pl_enum (EInterpolation) pl_enum_value(Linear | |
Linear interpolation | pl_enum_value (CatmullRomCurve,"Catmull rom curve interpolation") pl_enum_endenum EFlags |
Scene node modifier flags (SceneNodeModifier flags extension) | |
PLS_API | SNMPositionPath (SceneNode &cSceneNode) |
Constructor. | |
virtual PLS_API | ~SNMPositionPath () |
Destructor. | |
PLS_API PLMath::GraphPath * | GetGraphPath () const |
Returns the used graph path. | |
Protected Member Functions | |
virtual PLS_API void | OnActivate (bool bActivate) override |
Called when the scene node modifier has been activated or deactivated. |
Scene node modifier class moving the position of a scene node along a given path.
PLS_API PLScene::SNMPositionPath::SNMPositionPath | ( | SceneNode & | cSceneNode | ) |
Constructor.
[in] | cSceneNode | Owner scene node |
virtual PLS_API PLScene::SNMPositionPath::~SNMPositionPath | ( | ) | [virtual] |
Destructor.
Linear interpolation PLScene::SNMPositionPath::pl_enum_value | ( | CatmullRomCurve | , |
"Catmull rom curve interpolation" | |||
) | [inline] |
Scene node modifier flags (SceneNodeModifier flags extension)
< 'Progress' defined by 'node index' instead or 'percentage along path'
PLS_API PLMath::GraphPath* PLScene::SNMPositionPath::GetGraphPath | ( | ) | const |
Returns the used graph path.
virtual PLS_API void PLScene::SNMPositionPath::OnActivate | ( | bool | bActivate | ) | [override, protected, virtual] |
Called when the scene node modifier has been activated or deactivated.
[in] | bActivate | 'true' if the scene node modifier is now active, else 'false' |
Reimplemented from PLScene::SceneNodeModifier.
|