resonance 1.0.1
Loading...
Searching...
No Matches
transanim.h File Reference
#include <list>
#include "math/quaternion.h"
#include "rnd/animatable.h"
#include "rnd/drawable.h"
#include "rnd/transformable.h"
Include dependency graph for transanim.h:

Go to the source code of this file.

Classes

class  Rnd::TransAnim
 Animation that drives one transformable from three keyframe channels. More...
class  Rnd::TransAnim::TransKey
 One keyframe of the translation or the scale channel. More...
class  Rnd::TransAnim::RotKey
 One keyframe of the rotation channel. More...

Namespaces

namespace  Rnd
 The rendering engine.

Functions

float Rnd::Length (const TransAnim::TransKey &first, const TransAnim::TransKey &next)
 Approximate the arc length of the segment TransAnim::TransKey::EvaluateSpline() traces from first to next.
TransAnim * Rnd::NewTransAnim (const HxStr &name)
 Allocate and construct a transform animation, the base creator of the "TransAnim" class.
TransAnim * Rnd::NewTransAnimThroughHook (const HxStr &name)
 Build a transform animation through the creator hook.
Object * Rnd::CreateRegisteredTransAnim (const HxStr &name)
 Build a transform animation for the registered "TransAnim" class by calling through TransAnim::sNew.
void Rnd::RegisterTransAnimClass ()
 Point TransAnim::sNew at NewTransAnim() and register the "TransAnim" class with Rnd::Manager.

Variables

constexpr unsigned Rnd::kCopyShareFrames = 0x100
 Bit of the Copy() flags word that makes the copy share the source's keyframes.
HxStr Rnd::g_transAnimClassName
 Registered class name of Rnd::TransAnim, the string "TransAnim".