resonance 1.0.1
Loading...
Searching...
No Matches
ovyassembly.h
Go to the documentation of this file.
1#pragma once
2
3#include "app/linearanim.h"
4
5class HxStr;
6
7namespace Rnd {
8class Animatable;
9} // namespace Rnd
10
21private:
22 Rnd::Animatable *mAnim;
23
24public:
37 OvyAssembly(const HxStr &name, float flFrom, float flTo, float flDuration);
38
48 void SetTarget(float flTarget);
49
59 void Jump(float flTarget);
60
70 void Execute(float flTime);
71
72 // Public because the activator-label script command drives it with no accessor in the image.
74};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Value that moves toward a target at a fixed rate, read through a linear mapping.
Definition linearanim.h:12
void SetTarget(float flTarget)
Start the animation moving toward a raw ramp position.
void Jump(float flTarget)
Move the animation to a raw ramp position at once.
void Execute(float flTime)
Advance the ramp and pose the animation on its value while it moves.
LinearAnim mRamp
Definition ovyassembly.h:73
OvyAssembly(const HxStr &name, float flFrom, float flTo, float flDuration)
Resolve the animation, rewind it to frame 0, and set the ramp's range.
Mix-in for an object driven by a frame number.
Definition animatable.h:43
The rendering engine.
Definition animhelper.h:3