Chapters¶
Chapters are named timeline markers stored in the recording. They are used during playback to seek quickly to important moments.
Chapter Recording Modes¶
The XR Recorder module supports two chapter recording modes:
Manual: a chapter is written only when code callsPushChapter(string name).PerAction: a chapter is written automatically each time a SceneGraph action is initialized.
How Per-Action Chapters Work¶
At startup, RecorderModule subscribes to SceneGraph action initialization. When a new action is
initialized, the recorder checks:
ChapterMode == PerActionA recording is currently running
If both conditions are true, the module pushes a chapter immediately.
Chapter naming behavior:
Use action
ActionNamewhen it is set.Otherwise use action
ID.
This gives stable markers even if some actions are unnamed.
How To Configure Per-Action Chapters¶
In Unity:
Open the XR Recorder module asset.
Go to Advanced Settings.
Set Chapter Mode to PerAction.
Start a recording normally.
From now on, each action initialization creates one chapter marker.
Runtime Notes¶
Chapters are ignored when not recording.
In
Manualmode, nothing is auto-created; callPushChapteryourself.Chapters are exposed via
ListChapters()and used by playback UI for chapter seek buttons and timeline markers.
Basic Manual Chapter Example¶
1 2 3 4 5 6 7 8 | |