Chapters¶
Add Chapters Per Action¶
This tutorial shows how to configure automatic chapter creation for each SceneGraph action.
Prerequisites¶
XR Recorder is already configured in your project.
Your flow contains SceneGraph actions (with meaningful action names when possible).
Setup¶
Open the XR Recorder module asset.
In Advanced Settings, find Chapter Mode.
Set Chapter Mode to PerAction.
Arm and start recording as usual.
Perform actions in your flow.
Result¶
When Chapter Mode is set to PerAction, the recorder adds one chapter each time a SceneGraph action is initialized.
Chapter name uses the action’s
ActionName.If
ActionNameis empty, it falls back to the actionID.
You can then use chapter navigation in playback to jump between action points.
Add Custom Chapters¶
You can also add chapters manually by doing:
This pushes a chapter at the current time point during recording.
During playback you can get all of the chapters of the recording via:
Each ChapterInfo contains:
“Name” (string): The name of the chapter.
“Cursor” (double): The cursor position of this chapter.