![]() |
OGRE
13.6
Object-Oriented Graphics Rendering Engine
|
Defines an object property which is animable, i.e. More...
#include <OgreAnimable.h>
Public Types | |
enum | ValueType { INT , REAL , VECTOR2 , VECTOR3 , VECTOR4 , QUATERNION , COLOUR , RADIAN , DEGREE } |
The type of the value being animated. More... | |
Public Member Functions | |
AnimableValue (ValueType t) | |
virtual | ~AnimableValue () |
virtual void | applyDeltaValue (const Any &val) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const ColourValue &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Degree &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Quaternion &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Radian &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Vector2 &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Vector3 &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (const Vector4 &) |
Apply delta value. More... | |
virtual void | applyDeltaValue (int) |
Apply delta value. More... | |
virtual void | applyDeltaValue (Real) |
Set value. More... | |
ValueType | getType (void) const |
Gets the value type of this animable value. More... | |
virtual void | resetToBaseValue (void) |
virtual void | setCurrentStateAsBaseValue (void)=0 |
Sets the current state as the 'base' value; used for delta animation. More... | |
virtual void | setValue (const Any &val) |
Set value. More... | |
virtual void | setValue (const ColourValue &) |
Set value. More... | |
virtual void | setValue (const Degree &) |
Set value. More... | |
virtual void | setValue (const Quaternion &) |
Set value. More... | |
virtual void | setValue (const Radian &) |
Set value. More... | |
virtual void | setValue (const Vector2 &) |
Set value. More... | |
virtual void | setValue (const Vector3 &) |
Set value. More... | |
virtual void | setValue (const Vector4 &) |
Set value. More... | |
virtual void | setValue (int) |
Set value. More... | |
virtual void | setValue (Real) |
Set value. More... | |
Defines an object property which is animable, i.e.
may be keyframed.
Animable properties are those which can be altered over time by a predefined keyframe sequence. They may be set directly, or they may be modified from their existing state (common if multiple animations are expected to apply at once). Implementors of this interface are expected to override the 'setValue', 'setCurrentStateAsBaseValue' and 'applyDeltaValue' methods appropriate to the type in question, and to initialise the type.
|
inline |
|
inlinevirtual |
|
inline |
Gets the value type of this animable value.
|
pure virtual |
Sets the current state as the 'base' value; used for delta animation.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Set value.
|
virtual |
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Set value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
inlinevirtual |
Apply delta value.
References Ogre::Exception::ERR_NOT_IMPLEMENTED, and OGRE_EXCEPT.
|
virtual |
Apply delta value.
int Ogre::AnimableValue::mBaseValueInt |
Real Ogre::AnimableValue::mBaseValueReal[4] |