class
ATimeline
- Module
- Arc
- Header
#include "Arc/Widgets/ATimeline.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
ArcDelegate<void(float)> | OnScrub |
Public functions
| Returns | Name | Description |
|---|---|---|
ARC_WIDGET_ARGS | ||
void | SetTracks | |
const std::vector<FArcTimelineTrack>& | GetTracks | |
void | SetDurationFrames | |
void | SetCurrentFrame | |
float | GetCurrentFrame | |
void | SetPlaying | While playing the view scrolls to keep the playhead visible. |
FArcTimelineView& | View | |
const FArcTimelineView& | View | |
ArcRect | TrackArea | The track area (right of the label column, below the ruler) for a widget of the given rect. |
float | RowHeight | |
ArcVec2 | ComputeDesiredSize | |
int32_t | OnPaint | |
CReply | OnMouseButtonDown | |
CReply | OnMouseButtonUp | |
CReply | OnMouseMove | |
CReply | OnMouseWheel | |
void | OnMouseCaptureLost | |
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() constSetDurationFrames
C++
void SetDurationFrames(float frames)SetCurrentFrame
C++
void SetCurrentFrame(float frame)GetCurrentFrame
C++
float GetCurrentFrame() constSetPlaying
C++
void SetPlaying(bool playing)While playing the view scrolls to keep the playhead visible.
View
C++
FArcTimelineView& View()View
C++
const FArcTimelineView& View() constTrackArea
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 overrideOnPaint
C++
int32_t OnPaint(const CArcPaintArgs& args, const CGeometry& geo, CArcUIRenderer& renderer, int32_t layerId) const overrideOnMouseButtonDown
C++
CReply OnMouseButtonDown(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseButtonUp
C++
CReply OnMouseButtonUp(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseMove
C++
CReply OnMouseMove(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseWheel
C++
CReply OnMouseWheel(const CGeometry& geo, const CPointerEvent& event) overrideOnMouseCaptureLost
C++
void OnMouseCaptureLost() overrideGetTypeName
C++
const char* GetTypeName() const overrideGenerated from Arc/Widgets/ATimeline.h via arc.json · Nov 5, 2026Version 1.0.0