class

CCurveSequence

A sequence of one or more animation curves played together

Module
Arc
Header
#include "Arc/Animation/CCurveSequence.h"
Namespace
Arcf

Properties

TypeNameDescription
ArcDelegate<void()>OnFinishedFired once when a non-looping playback reaches its end (forward) or its start (reverse) — consumers no longer have to poll IsComplete.
ArcDelegate<void()>OnUpdatedFired 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

SignatureNameDescription
CCurveSequence()CCurveSequence
~CCurveSequence()~CCurveSequenceRegistered 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&) = deleteCCurveSequence
CCurveSequence(CCurveSequence&&) = deleteCCurveSequence

Public functions

ReturnsNameDescription
CCurveSequence&operator=
CCurveSequence&operator=
CCurveHandleAddCurve
CCurveHandleAddCurveRelativeAdd a curve with delay from sequence start (for staggered animations)
voidPlay
voidPlayReverse
voidPlayForwardToward the end / the start FROM WHERE IT IS NOW.
voidPlayBackward
voidPause
voidResume
voidJumpToStart
voidJumpToEnd
voidSeek
voidReverse
voidTickCalled by CArcAnimationManager each frame
floatGetLerp
floatGetLerpValue of the first curve
boolIsPlaying
boolIsComplete
boolIsAtStart
boolIsAtEnd
floatGetSequenceTime
floatGetTotalDuration
uint32_tGetId
voidSetLooping
boolIsLooping

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&) = delete

CCurveSequence

C++
CCurveSequence(CCurveSequence&&) = delete

operator=

C++
CCurveSequence& operator=(const CCurveSequence&) = delete

operator=

C++
CCurveSequence& operator=(CCurveSequence&&) = delete

AddCurve

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) const

GetLerp

C++
float GetLerp() const

Value of the first curve

IsPlaying

C++
bool IsPlaying() const

IsComplete

C++
bool IsComplete() const

IsAtStart

C++
bool IsAtStart() const

IsAtEnd

C++
bool IsAtEnd() const

GetSequenceTime

C++
float GetSequenceTime() const

GetTotalDuration

C++
float GetTotalDuration() const

GetId

C++
uint32_t GetId() const

SetLooping

C++
void SetLooping(bool looping)

IsLooping

C++
bool IsLooping() const
Generated from Arc/Animation/CCurveSequence.h via arc.json · Nov 5, 2026Version 1.0.0