AMjKeyframeCameraActor¶
A cinematic camera that lerps through manually placed waypoints.
Place this actor in the level, add waypoints to the Waypoints array, and position each one using the transform gizmos. The camera smoothly interpolates between them during PIE based on their Time values. Hotkey: O toggles play/pause (shared with orbit camera).
| Attribute | Value |
|---|---|
| Kind | Class |
| UE Macro | UCLASS |
| Inherits | AActor |
Properties¶
Public Properties¶
| Property | Type | Description |
|---|---|---|
CineCamera |
UCineCameraComponent* |
|
Waypoints |
TArray<FMjCameraWaypoint> | Camera waypoints. Each defines a position, rotation, and arrival time. |
bLoop |
bool |
If true, loops back to the first waypoint after the last. |
bAutoPlay |
bool |
If true, starts playing automatically on BeginPlay. |
StartDelay |
float |
Delay before playback starts (seconds). |
bAutoActivate |
bool |
If true, activates this camera as the player's view on BeginPlay. |
bSmoothInterp |
bool |
Use cubic interpolation for smoother motion. If false, uses linear lerp. |
PathSpline |
USplineComponent* |
Shows the camera path as a spline in the editor. |
CineCamera¶
- Type: UCineCameraComponent*
- Editor: 👁 VisibleAnywhere
- Blueprint: 🟢 ReadOnly
- Category: MuJoCo|Keyframe Camera
Waypoints¶
Camera waypoints. Each defines a position, rotation, and arrival time.
- Type: TArray<FMjCameraWaypoint>
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
bLoop¶
If true, loops back to the first waypoint after the last.
- Type: bool
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
bAutoPlay¶
If true, starts playing automatically on BeginPlay.
- Type: bool
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
StartDelay¶
Delay before playback starts (seconds).
- Type: float
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
- Notes: Override-enabled (
bAutoPlay)
bAutoActivate¶
If true, activates this camera as the player's view on BeginPlay.
- Type: bool
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
bSmoothInterp¶
Use cubic interpolation for smoother motion. If false, uses linear lerp.
- Type: bool
- Editor: ✏️ EditAnywhere
- Blueprint: 🔵 ReadWrite
- Category: MuJoCo|Keyframe Camera|Path
PathSpline¶
Shows the camera path as a spline in the editor.
- Type: USplineComponent*
- Editor: 👁 VisibleAnywhere
- Blueprint: 🟢 ReadOnly
- Category: MuJoCo|Keyframe Camera|Preview
Functions¶
Public Functions¶
MuJoCo|Keyframe Camera¶
| Function | Returns | Description |
|---|---|---|
CaptureCurrentView() |
void | Capture current viewport camera as a new waypoint at the given time. |
CaptureCurrentView¶
Capture current viewport camera as a new waypoint at the given time.
- Signature:
CaptureCurrentView() - Blueprint: 🔵 Callable 🔧 CallInEditor