Skip to content

UMjSpatialTendon

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

Properties

Public Properties

Property Type Description
group int32
limited bool
actuatorfrclimited bool
frictionloss float
width float
material FString
margin float
armature float
rgba FLinearColor
m_TendonView TendonView The runtime view of the MuJoCo tendon. Valid only after Bind() is called.
Wraps TArray<FMjTendonWrap> Ordered list of wrap entries that define the tendon path.
MjClassName FString Optional MuJoCo default class name to inherit from (string fallback).
DefaultClass UMjDefault* Reference to a UMjDefault component for default class inheritance.
bActFrcLimited bool Whether the tendon has actuator force limits.
verride o Tendon actuator force limits [min, max].

group

Override-enabled (bOverride_group)

  • Type: int32
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjTendon

limited

Override-enabled (bOverride_limited)

  • Type: bool
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjTendon

actuatorfrclimited

Override-enabled (bOverride_actuatorfrclimited)

  • Type: bool
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjTendon

frictionloss

Override-enabled (bOverride_frictionloss)

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

width

Override-enabled (bOverride_width)

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

material

Override-enabled (bOverride_material)

  • Type: FString
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjTendon

margin

Override-enabled (bOverride_margin)

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

armature

Override-enabled (bOverride_armature)

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

rgba

Override-enabled (bOverride_rgba)

  • Type: FLinearColor
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|MjTendon

m_TendonView

The runtime view of the MuJoCo tendon. Valid only after Bind() is called.

Wraps

Ordered list of wrap entries that define the tendon path.

  • Type: TArray<FMjTendonWrap>
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Tendon

MjClassName

Optional MuJoCo default class name to inherit from (string fallback).

  • Type: FString
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Tendon

DefaultClass

Reference to a UMjDefault component for default class inheritance.

  • Type: UMjDefault*
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Tendon

bActFrcLimited

Whether the tendon has actuator force limits.

  • Type: bool
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Tendon|Limits
  • Notes: Override-enabled (bOverride_ActFrcLimited)

verride

Tendon actuator force limits [min, max].

  • Type: o
  • Editor: ✏️ EditAnywhere
  • Blueprint: 🔵 ReadWrite
  • Category: MuJoCo|Tendon|Limits
  • Notes: Override-enabled (bOverride_ActFrcRange)

Functions

Public Functions

General

Function Returns Description
ExportTo() void Exports properties to a pre-created MuJoCo spec tendon structure.
RegisterToSpec() void Registers this tendon to the MuJoCo spec.
Bind() void Binds this component to the live MuJoCo simulation.
ImportFromXml() void Imports properties from a raw XML node.
GetMj() TendonView& Semantic accessor for raw MuJoCo data and helper methods.
GetMjName() FString Gets the full prefixed name of this tendon in the compiled MuJoCo model.
ExportTo

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

  • Signature: ExportTo(mjsTendon* Element, mjsDefault* def)
RegisterToSpec

Registers this tendon to the MuJoCo spec.

Bind

Binds this component to the live MuJoCo simulation.

  • Signature: Bind(mjModel* model, mjData* data, const FString& Prefix)
ImportFromXml

Imports properties from a raw XML node.

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

Semantic accessor for raw MuJoCo data and helper methods.

GetMjName

Gets the full prefixed name of this tendon in the compiled MuJoCo model.

  • Signature: GetMjName()
  • Returns: FString

MuJoCo|Runtime

Function Returns Description
GetLength() float Gets the current tendon length (meters).
GetVelocity() float Gets the current tendon velocity (m/s).
GetLength

Gets the current tendon length (meters).

  • Signature: GetLength()
  • Blueprint: 🔵 Callable
  • Returns: float
GetVelocity

Gets the current tendon velocity (m/s).

  • Signature: GetVelocity()
  • Blueprint: 🔵 Callable
  • Returns: float