//! \brief An animation sequence applied as a material, allowing meshes to have an animated material or texture.
//! \details This is a Task so it needs to be added to a parent process in order to animate.
classMaterialAnimation:publicMaterial,publicTask
{
public:
//! \brief An individual frame of a MaterialAnimation sequence.
structFrame
{
//! \brief Constructs a MaterialAnimation::Frame.
//! \param duration The duration of the frame, in seconds.
//! \param texture The texture to use for this frame, which can be shared with other frames.
//! \param textureCoordinateTopLeft The top-left corner of the part of the texture to be rendered for this frame, specified in texture coordinates.
//! \param textureCoordinateBottomRight The bottom-right corner of the part of the texture to be rendered for this frame, specified in texture coordinates.