API ReferenceGE Extensionsflowgraphnodesscenecamera
Restart Cam Path (Flowgraph Node)
- **Node Name:** `Restart Cam Path`
Overview
- Node Name:
Restart Cam Path - Category:
once_instant - File:
extensions/flowgraph/nodes/scene/camera/restartCamPath.lua
Restarts the currently active camera path from the beginning.
Pin Schema
Input Pins
| Pin | Type | Description |
|---|---|---|
id | number | Id of the camera path. If not given, uses the currently active path (hidden) |
Behavior
workOnce()- Callsself.mgr.modules.camera:restartActivePath(id)to restart the specified or currently active camera path.
Key Dependencies
self.mgr.modules.camera:restartActivePath(id)- Restarts a camera path from the beginning
How It Works
A simple one-shot node that restarts a camera path. If no id is provided, it restarts whatever path is currently playing. Useful for looping cinematics or replaying a camera sequence on demand.
Example Usage
-- Wire to a button press or trigger to replay a camera path
-- Can be combined with Get Cam Path to check completion, then restartAdditional Methods
C:drawMiddle(builder, style)
Custom ImGui drawing in the middle section of the node in the editor.
Parameters:
builderstyle
See Also
- Camera Transform (Flowgraph Node) - Related reference
- Camera Look at Position (Flowgraph Node) - Related reference
- Camera Auto Circle (Flowgraph Node) - Related reference
- FlowGraph Guide - Guide