class
CCurveSequence
A sequence of one or more animation curves played together
- Module
- Arc
- Header
#include "Arc/Animation/CCurveSequence.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
ArcDelegate<void()> | OnFinished | Fired once when a non-looping playback reaches its end (forward) or its start (reverse) — consumers no longer have to poll IsComplete. |
ArcDelegate<void()> | OnUpdated | Fired after every tick that moved the time. A widget whose LAYOUT follows the curve (an expanding section) invalidates here: the manager ticks before layout, so the new size lands the same frame. |
Constructors
| Signature | Name | Description |
|---|---|---|
CCurveSequence() | CCurveSequence | |
~CCurveSequence() | ~CCurveSequence | Registered with CArcAnimationManager by address, so identity is fixed: the destructor unregisters, and copy/move are disabled to keep the manager from ever holding a pointer into a moved-from or aliased object. |
CCurveSequence(const CCurveSequence&) = delete | CCurveSequence | |
CCurveSequence(CCurveSequence&&) = delete | CCurveSequence |
Public functions
| Returns | Name | Description |
|---|---|---|
CCurveSequence& | operator= | |
CCurveSequence& | operator= | |
CCurveHandle | AddCurve | |
CCurveHandle | AddCurveRelative | Add a curve with delay from sequence start (for staggered animations) |
void | Play | |
void | PlayReverse | |
void | PlayForward | Toward the end / the start FROM WHERE IT IS NOW. |
void | PlayBackward | |
void | Pause | |
void | Resume | |
void | JumpToStart | |
void | JumpToEnd | |
void | Seek | |
void | Reverse | |
void | Tick | Called by CArcAnimationManager each frame |
float | GetLerp | |
float | GetLerp | Value of the first curve |
bool | IsPlaying | |
bool | IsComplete | |
bool | IsAtStart | |
bool | IsAtEnd | |
float | GetSequenceTime | |
float | GetTotalDuration | |
uint32_t | GetId | |
void | SetLooping | |
bool | IsLooping |
Function details
CCurveSequence
C++
CCurveSequence()~CCurveSequence
C++
~CCurveSequence()Registered with CArcAnimationManager by address, so identity is fixed: the destructor unregisters, and copy/move are disabled to keep the manager from ever holding a pointer into a moved-from or aliased object.
CCurveSequence
C++
CCurveSequence(const CCurveSequence&) = deleteCCurveSequence
C++
CCurveSequence(CCurveSequence&&) = deleteoperator=
C++
CCurveSequence& operator=(const CCurveSequence&) = deleteoperator=
C++
CCurveSequence& operator=(CCurveSequence&&) = deleteAddCurve
C++
CCurveHandle AddCurve(float duration, EEaseFunction easing = EEaseFunction::Linear)AddCurveRelative
C++
CCurveHandle AddCurveRelative(float delay, float duration, EEaseFunction easing = EEaseFunction::Linear)Add a curve with delay from sequence start (for staggered animations)
Play
C++
void Play()PlayReverse
C++
void PlayReverse()PlayForward
C++
void PlayForward()Toward the end / the start FROM WHERE IT IS NOW. A state transition (hover in and out, press, open/close) must use these: Play restarts at 0 and PlayReverse jumps to the end, so a quick in-out snapped to full hover and then faded.
PlayBackward
C++
void PlayBackward()Pause
C++
void Pause()Resume
C++
void Resume()JumpToStart
C++
void JumpToStart()JumpToEnd
C++
void JumpToEnd()Seek
C++
void Seek(float fraction)Reverse
C++
void Reverse()Tick
C++
void Tick(float deltaTime)Called by CArcAnimationManager each frame
GetLerp
C++
float GetLerp(const CCurveHandle& handle) constGetLerp
C++
float GetLerp() constValue of the first curve
IsPlaying
C++
bool IsPlaying() constIsComplete
C++
bool IsComplete() constIsAtStart
C++
bool IsAtStart() constIsAtEnd
C++
bool IsAtEnd() constGetSequenceTime
C++
float GetSequenceTime() constGetTotalDuration
C++
float GetTotalDuration() constGetId
C++
uint32_t GetId() constSetLooping
C++
void SetLooping(bool looping)IsLooping
C++
bool IsLooping() constGenerated from Arc/Animation/CCurveSequence.h via arc.json · Nov 5, 2026Version 1.0.0