|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NL3D::IAnimatedValue Class ReferenceA value handled by the animation system.
More...
#include <animated_value.h>
Inheritance diagram for NL3D::IAnimatedValue:
List of all members.
Public Methods |
virtual void | blend (const IAnimatedValue &value, float blendFactor)=0 |
| The blend method. More...
|
virtual void | affect (const IAnimatedValue &value)=0 |
| An assignation method. More...
|
Detailed Description
A value handled by the animation system.
This value must be managed by a IAnimatable object.
-
Author:
-
Cyril 'Hulud' Corvazier , Nevrax France
-
Date:
-
2001
Definition at line 47 of file animated_value.h.
Member Function Documentation
virtual void NL3D::IAnimatedValue::affect |
( |
const IAnimatedValue & |
value |
) |
[pure virtual] |
|
virtual void NL3D::IAnimatedValue::blend |
( |
const IAnimatedValue & |
value, |
|
|
float |
blendFactor |
|
) |
[pure virtual] |
|
|
The blend method.
This method blend two the animated values and store the result in the object. The two first args can be reference on the object itself. Idealy, it performs the operation this->value=(this->value*blendFactor + value*(1.f-blendFactor)) -
Parameters:
-
value |
is the first value in the blend operation. |
blendFactor |
must be in the range [0..1]. |
Implemented in NL3D::CAnimatedValueBlendable. |
The documentation for this class was generated from the following file:
|
|