Defines an object property which is animable, i.e.
More...
#include <OgreAnimable.h>
Defines an object property which is animable, i.e.
may be keyframed.
- AnimableValue instances are accessible through any class which extends AnimableObject in order to expose it's animable properties.
- Note
- This class is an instance of the Adapter pattern, since it generalises access to a particular property. Whilst it could have been templated such that the type which was being referenced was compiled in, this would make it more difficult to aggregated generically, and since animations are often comprised of multiple properties it helps to be able to deal with all values through a single class.
◆ ValueType
The type of the value being animated.
Enumerator |
---|
INT | |
REAL | |
VECTOR2 | |
VECTOR3 | |
VECTOR4 | |
QUATERNION | |
COLOUR | |
RADIAN | |
DEGREE | |
◆ AnimableValue()
Ogre::AnimableValue::AnimableValue |
( |
ValueType |
t | ) |
|
|
inline |
◆ ~AnimableValue()
virtual Ogre::AnimableValue::~AnimableValue |
( |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [1/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Any & |
val | ) |
|
|
virtual |
◆ applyDeltaValue() [2/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const ColourValue & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [3/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Degree & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [4/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Quaternion & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [5/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Radian & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [6/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Vector2 & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [7/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Vector3 & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [8/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
const Vector4 & |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [9/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
int |
| ) |
|
|
inlinevirtual |
◆ applyDeltaValue() [10/10]
virtual void Ogre::AnimableValue::applyDeltaValue |
( |
Real |
| ) |
|
|
inlinevirtual |
◆ getType()
ValueType Ogre::AnimableValue::getType |
( |
| ) |
const |
|
inline |
Gets the value type of this animable value.
◆ resetToBaseValue()
virtual void Ogre::AnimableValue::resetToBaseValue |
( |
| ) |
|
|
virtual |
◆ setCurrentStateAsBaseValue()
virtual void Ogre::AnimableValue::setCurrentStateAsBaseValue |
( |
| ) |
|
|
pure virtual |
Sets the current state as the 'base' value; used for delta animation.
◆ setValue() [1/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Any & |
val | ) |
|
|
virtual |
◆ setValue() [2/10]
virtual void Ogre::AnimableValue::setValue |
( |
const ColourValue & |
| ) |
|
|
inlinevirtual |
◆ setValue() [3/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Degree & |
| ) |
|
|
inlinevirtual |
◆ setValue() [4/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Quaternion & |
| ) |
|
|
inlinevirtual |
◆ setValue() [5/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Radian & |
| ) |
|
|
inlinevirtual |
◆ setValue() [6/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Vector2 & |
| ) |
|
|
inlinevirtual |
◆ setValue() [7/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Vector3 & |
| ) |
|
|
inlinevirtual |
◆ setValue() [8/10]
virtual void Ogre::AnimableValue::setValue |
( |
const Vector4 & |
| ) |
|
|
inlinevirtual |
◆ setValue() [9/10]
virtual void Ogre::AnimableValue::setValue |
( |
int |
| ) |
|
|
inlinevirtual |
◆ setValue() [10/10]
virtual void Ogre::AnimableValue::setValue |
( |
Real |
| ) |
|
|
inlinevirtual |
◆ mBaseValueInt
int Ogre::AnimableValue::mBaseValueInt |
◆ mBaseValueReal
Real Ogre::AnimableValue::mBaseValueReal[4] |
The documentation for this class was generated from the following file: