Skip to content

UMjKeyframe

Component representing a MuJoCo keyframe.

Keyframes store simulation state (time, qpos, qvel, act, ctrl, mocap) at a specific moment.

Attribute Value
Kind Class
UE Macro UCLASS
Inherits UMjComponent
Blueprint Spawnable ✅ Yes

Properties

Public Properties

Property Type Description
Time float
verride o

Time

Override-enabled (bOverride_Time)

  • Type: float
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjKeyframe

verride

Override-enabled (bOverride_Ctrl)

  • Type: o
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjKeyframe

Functions

Public Functions

General

Function Returns Description
ExportTo() void Exports properties to a pre-created MuJoCo spec keyframe structure.
RegisterToSpec() void Registers this keyframe to the MuJoCo spec.
ImportFromXml() void Imports properties from a raw XML node. Codegen-owned.
ExportTo

Exports properties to a pre-created MuJoCo spec keyframe structure.

  • Signature: ExportTo(mjsKey* Element, mjsDefault* Default)
RegisterToSpec

Registers this keyframe to the MuJoCo spec.

ImportFromXml

Imports properties from a raw XML node. Codegen-owned.

  • Signature: ImportFromXml(const class FXmlNode* Node, const struct FMjCompilerSettings& CompilerSettings)