class

ATimeline

Module
Arc
Header
#include "Arc/Widgets/ATimeline.h"
Namespace
Arcf

Properties

TypeNameDescription
ArcDelegate<void(float)>OnScrub

Public functions

ReturnsNameDescription
ARC_WIDGET_ARGS
voidSetTracks
const std::vector<FArcTimelineTrack>&GetTracks
voidSetDurationFrames
voidSetCurrentFrame
floatGetCurrentFrame
voidSetPlayingWhile playing the view scrolls to keep the playhead visible.
FArcTimelineView&View
const FArcTimelineView&View
ArcRectTrackAreaThe track area (right of the label column, below the ruler) for a widget of the given rect.
floatRowHeight
ArcVec2ComputeDesiredSize
int32_tOnPaint
CReplyOnMouseButtonDown
CReplyOnMouseButtonUp
CReplyOnMouseMove
CReplyOnMouseWheel
voidOnMouseCaptureLost
const char*GetTypeName

Function details

ARC_WIDGET_ARGS

C++
ARC_WIDGET_ARGS(ATimeline) ARC_ARG(float, DurationFrames) ARC_ARG(float, Fps) ARC_WIDGET_ARGS_END() void Construct(const CArguments& args)

SetTracks

C++
void SetTracks(std::vector<FArcTimelineTrack> tracks)

GetTracks

C++
const std::vector<FArcTimelineTrack>& GetTracks() const

SetDurationFrames

C++
void SetDurationFrames(float frames)

SetCurrentFrame

C++
void SetCurrentFrame(float frame)

GetCurrentFrame

C++
float GetCurrentFrame() const

SetPlaying

C++
void SetPlaying(bool playing)

While playing the view scrolls to keep the playhead visible.

View

C++
FArcTimelineView& View()

View

C++
const FArcTimelineView& View() const

TrackArea

C++
static ArcRect TrackArea(const ArcRect& rect)

The track area (right of the label column, below the ruler) for a widget of the given rect.

RowHeight

C++
static float RowHeight(EArcTimelineTrackKind kind)

ComputeDesiredSize

C++
ArcVec2 ComputeDesiredSize(float scale) const override

OnPaint

C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const override

OnMouseButtonDown

C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) override

OnMouseButtonUp

C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) override

OnMouseMove

C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) override

OnMouseWheel

C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) override

OnMouseCaptureLost

C++
void OnMouseCaptureLost() override

GetTypeName

C++
const char* GetTypeName() const override
Generated from Arc/Widgets/ATimeline.h via arc.json · Nov 5, 2026Version 1.0.0