#include <OgreAnimable.h>
Public Types | |
enum | ValueType { INT, REAL, VECTOR2, VECTOR3, VECTOR4, QUATERNION, COLOUR } |
The type of the value being animated. More... | |
Public Member Functions | |
AnimableValue (ValueType t) | |
virtual | ~AnimableValue () |
ValueType | getType (void) const |
Gets the value type of this animable value. | |
virtual void | setCurrentStateAsBaseValue (void)=0 |
Sets the current state as the 'base' value; used for delta animation. | |
virtual void | setValue (int val) |
Set value. | |
virtual void | setValue (Real val) |
Set value. | |
virtual void | setValue (const Vector2 &val) |
Set value. | |
virtual void | setValue (const Vector3 &val) |
Set value. | |
virtual void | setValue (const Vector4 &val) |
Set value. | |
virtual void | setValue (const Quaternion &val) |
Set value. | |
virtual void | setValue (const ColourValue &val) |
Set value. | |
virtual void | setValue (const Any &val) |
Set value. | |
virtual void | resetToBaseValue (void) |
virtual void | applyDeltaValue (int val) |
Apply delta value. | |
virtual void | applyDeltaValue (Real val) |
Set value. | |
virtual void | applyDeltaValue (const Vector2 &val) |
Apply delta value. | |
virtual void | applyDeltaValue (const Vector3 &val) |
Apply delta value. | |
virtual void | applyDeltaValue (const Vector4 &val) |
Apply delta value. | |
virtual void | applyDeltaValue (const Quaternion &val) |
Apply delta value. | |
virtual void | applyDeltaValue (const ColourValue &val) |
Apply delta value. | |
virtual void | applyDeltaValue (const Any &val) |
Apply delta value. | |
Protected Member Functions | |
virtual void | setAsBaseValue (int val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (Real val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const Vector2 &val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const Vector3 &val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const Vector4 &val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const Quaternion &val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const Any &val) |
Internal method to set a value as base. | |
virtual void | setAsBaseValue (const ColourValue &val) |
Internal method to set a value as base. | |
Protected Attributes | |
ValueType | mType |
Value type. |
Definition at line 61 of file OgreAnimable.h.
|
The type of the value being animated.
Definition at line 65 of file OgreAnimable.h. |
|
Definition at line 115 of file OgreAnimable.h. |
|
Definition at line 116 of file OgreAnimable.h. |
|
Apply delta value.
|
|
Apply delta value.
Definition at line 183 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Apply delta value.
Definition at line 179 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Apply delta value.
Definition at line 175 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Apply delta value.
Definition at line 171 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Apply delta value.
Definition at line 167 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 163 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::Real. |
|
Apply delta value.
Definition at line 159 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Gets the value type of this animable value.
Definition at line 119 of file OgreAnimable.h. |
|
|
|
Internal method to set a value as base.
Definition at line 105 of file OgreAnimable.h. References Ogre::ColourValue::a, Ogre::ColourValue::b, Ogre::ColourValue::g, and Ogre::ColourValue::r. |
|
Internal method to set a value as base.
|
|
Internal method to set a value as base.
Definition at line 100 of file OgreAnimable.h. References Ogre::Real, and Ogre::Quaternion::val. |
|
Internal method to set a value as base.
Definition at line 97 of file OgreAnimable.h. References Ogre::Real, and Ogre::Vector4::val. |
|
Internal method to set a value as base.
Definition at line 94 of file OgreAnimable.h. References Ogre::Real, and Ogre::Vector3::val. |
|
Internal method to set a value as base.
Definition at line 91 of file OgreAnimable.h. References Ogre::Real, and Ogre::Vector2::val. |
|
Internal method to set a value as base.
Definition at line 89 of file OgreAnimable.h. References Ogre::Real. |
|
Internal method to set a value as base.
Definition at line 87 of file OgreAnimable.h. |
|
Sets the current state as the 'base' value; used for delta animation.
|
|
Set value.
|
|
Set value.
Definition at line 149 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 145 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 141 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 137 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 133 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Set value.
Definition at line 129 of file OgreAnimable.h. References OGRE_EXCEPT, and Ogre::Real. |
|
Set value.
Definition at line 125 of file OgreAnimable.h. References OGRE_EXCEPT. |
|
Definition at line 82 of file OgreAnimable.h. |
|
Definition at line 83 of file OgreAnimable.h. |
|
Value type.
Definition at line 77 of file OgreAnimable.h. |
Copyright © 2000-2005 by The OGRE Team
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sun Mar 12 14:38:03 2006