![]() |
Murl Engine API
Version 2018.3
|
The XML animation resource class. More...
#include <murl_resource_xml_animation.h>
The XML animation resource class.
An XML animation file is recognized by its <Animation> root element. The root element accepts the following attributes:
As mentioned above, it is possible to either define a number of different clips for a single animation each containing any number of individual key frames, or to create a "clip-less" animation which in fact contains a single unnamed clip.
The root element may contain any number of clips, recognized by the <Clip> element. A clip element requires the following attributes to be set:
There exist a number of different key frame types, with may be either defined as children of a clip, or as direct children of the root element if no explicit clips are given. The following attributes are common to all key frame types:
Following is a list of specific key frame types and their possible values:
Example of an XML animation file:
Use the <Resource> tag in a .murlres package's resource.xml file to specify an XML animation resource. See Resource::Object.
Additional Inherited Members | |
![]() | |
typedef Array< const ClassInfo *> | ClassInfoArray |
Definition of an array of ClassInfo objects. More... | |
![]() | |
virtual | ~IFactoryObject () |
The destructor. More... | |
virtual const ClassInfo * | GetObjectClassInfo () const=0 |
Get the object instance's class info, if present. More... | |
virtual void | ResetObjectProperties ()=0 |
Reset the object instance's properties to their default values. | |
![]() | |
virtual void | Evaluate (const Raw::FloatKey &startKey, const Raw::FloatKey &endKey, Double t, Float &output) const =0 |
Evaluate the output value for two FloatKey entries and a given time value, and store it in a given Float variable. More... | |
virtual void | Evaluate (const Raw::FloatKey &startKey, const Raw::FloatKey &endKey, Double t, Double &output) const =0 |
Evaluate the output value for two FloatKey entries and a given time value, and store it in a given Double variable. More... | |
virtual void | Evaluate (const Raw::IntegerKey &startKey, const Raw::IntegerKey &endKey, Double t, UInt32 &output) const =0 |
Evaluate the output value for two IntegerKey entries and a given time value, and store it in a given UInt32 variable. More... | |
virtual void | Evaluate (const Raw::IntegerKey &startKey, const Raw::IntegerKey &endKey, Double t, SInt32 &output) const =0 |
Evaluate the output value for two IntegerKey entries and a given time value, and store it in a given SInt32 variable. More... | |
virtual void | Evaluate (const Raw::BoolKey &startKey, const Raw::BoolKey &endKey, Double t, Bool &output) const =0 |
Evaluate the output value for two BoolKey entries and a given time value, and store it in a given Bool variable. More... | |
virtual void | Evaluate (const Raw::ColorKey &startKey, const Raw::ColorKey &endKey, Double t, Color &output) const =0 |
Evaluate the RGBA output values for two ColorKey entries and a given time value, and store them in a given Color variable. More... | |
virtual void | Evaluate (const Raw::PositionKey &startKey, const Raw::PositionKey &endKey, Double t, Vector &output) const =0 |
Evaluate the XYZ output values for two PositionKey entries and a given time value, and store them in the X, Y and Z fields of a given Vector variable. More... | |
virtual void | Evaluate (const Raw::PositionKey &startKey, const Raw::PositionKey &endKey, Double t, Matrix &output) const =0 |
Evaluate the XYZ output values for two PositionKey entries and a given time value, and store them in the XW, YW and ZW fields of a given Matrix variable. More... | |
virtual void | Evaluate (const Raw::ScalingKey &startKey, const Raw::ScalingKey &endKey, Double t, Vector &output) const =0 |
Evaluate the XYZ output values for two ScalingKey entries and a given time value, and store them in the X, Y and Z fields of a given Vector variable. More... | |
virtual void | Evaluate (const Raw::ScalingKey &startKey, const Raw::ScalingKey &endKey, Double t, Matrix &output) const =0 |
Evaluate the XYZ output values for two ScalingKey entries and a given time value, and store them in the XX, YY and ZZ fields of a given Matrix variable. More... | |
virtual void | Evaluate (const Raw::EulerAngleKey &startKey, const Raw::EulerAngleKey &endKey, Double t, Vector &output) const =0 |
Evaluate the XYZ output rotation values for two EulerAngleKey entries and a given time value, and store them in the X, Y and Z fields of a given Vector variable. More... | |
virtual void | Evaluate (const Raw::EulerAngleKey &startKey, const Raw::EulerAngleKey &endKey, Double t, Matrix &output) const =0 |
Evaluate the XYZ output values for two EulerAngleKey entries and a given time value, and store their combined rotation in the upper 3x3 fields of a given Matrix variable. More... | |
virtual void | Evaluate (const Raw::EulerAngleKey &startKey, const Raw::EulerAngleKey &endKey, Double t, Quaternion &output) const =0 |
Evaluate the XYZ output values for two EulerAngleKey entries and a given time value, and store their combined rotation in a given Quaternion variable. More... | |
virtual void | Evaluate (const Raw::AxisAngleKey &startKey, const Raw::AxisAngleKey &endKey, Double t, Vector &output) const =0 |
Evaluate the XYZ axis and rotation angle output values for two AxisAngleKey entries and a given time value, and store them in the X, Y, Z and W fields of a given Vector variable. More... | |
virtual void | Evaluate (const Raw::AxisAngleKey &startKey, const Raw::AxisAngleKey &endKey, Double t, Matrix &output) const =0 |
Evaluate the XYZ axis and rotation angle output values for two AxisAngleKey entries and a given time value, and store the resulting rotation in the upper 3x3 fields of a given Matrix variable. More... | |
virtual void | Evaluate (const Raw::AxisAngleKey &startKey, const Raw::AxisAngleKey &endKey, Double t, Quaternion &output) const =0 |
Evaluate the XYZ axis and rotation angle output values for two AxisAngleKey entries and a given time value, and store the resulting rotation in a given Quaternion variable. More... | |
virtual void | Evaluate (const Raw::QuaternionKey &startKey, const Raw::QuaternionKey &endKey, Double t, Vector &output) const =0 |
Evaluate the RIJK output values for two QuaternionKey entries and a given time value, and store the resulting rotation axis in the X, Y and Z fields and the rotation angle in the W field of a given Vector variable. More... | |
virtual void | Evaluate (const Raw::QuaternionKey &startKey, const Raw::QuaternionKey &endKey, Double t, Matrix &output) const =0 |
Evaluate the RIJK output values for two QuaternionKey entries and a given time value, and store the resulting rotation in the upper 3x3 fields of a given Matrix variable. More... | |
virtual void | Evaluate (const Raw::QuaternionKey &startKey, const Raw::QuaternionKey &endKey, Double t, Quaternion &output) const =0 |
Evaluate the RIJK output values for two QuaternionKey entries and a given time value, and store them in a given Quaternion variable. More... | |
![]() | |
static const PropertyInfo * | GetPropertyInfo () |
Get the class' property info struct. More... | |
static const AttributeInfo * | GetAttributeInfo () |
Get the class' attribute info struct. More... | |
static void | ResetProperties (IFactoryObject< IObject > *object) |
Reset an object instance's properties to their default values. More... | |