struct
FArcTimelineView
A frame timeline's time to pixel mapping: px per frame and the frame at the left edge. The animation, montage and sequencer timelines each kept their own copy of these few lines, and the copies had started to drift.
- Module
- Arc
- Header
#include "Arc/Widgets/CArcTimelinePaint.h"- Namespace
Arcf
Properties
| Type | Name | Description |
|---|---|---|
float | FrameWidth | Default 6.5f. |
float | ViewStart | Default 0.0f. |
float | MinFrameWidth | Default 0.5f. |
float | MaxFrameWidth | Default 60.0f. |
float | MinViewStart | Default -60.0f. |
Public functions
| Returns | Name | Description |
|---|---|---|
float | FrameToX | |
float | XToFrame | |
void | Clamp | |
void | ZoomAt | One wheel notch: ×1.2 in or out, keeping the frame under x in place. |
void | PanFrom | Middle-drag pan from where the drag started. |
void | Follow | Scrolls just enough to keep frame inside the rect: the view follows the playhead during playback. |
Function details
FrameToX
C++
float FrameToX(const ArcRect& rect, float frame) constXToFrame
C++
float XToFrame(const ArcRect& rect, float x) constClamp
C++
void Clamp()ZoomAt
C++
void ZoomAt(const ArcRect& rect, float x, float wheelDelta)One wheel notch: ×1.2 in or out, keeping the frame under x in place.
PanFrom
C++
void PanFrom(float startViewStart, float startX, float x)Middle-drag pan from where the drag started.
Follow
C++
void Follow(const ArcRect& rect, float frame)Scrolls just enough to keep frame inside the rect: the view follows the playhead during playback.
Generated from Arc/Widgets/CArcTimelinePaint.h via arc.json · Nov 5, 2026Version 1.0.0