MCPcopy Create free account
hub / github.com/URLab-Sim/UnrealRoboticsLab / Bind

Method Bind

Source/URLab/Private/MuJoCo/Components/Bodies/MjFrame.cpp:134–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132}
133
134void UMjFrame::Bind(mjModel* Model, mjData* Data, const FString& Prefix)
135{
136 // Frames are compiled away by MuJoCo, so they don't have IDs in mjModel/mjData.
137 m_Model = Model;
138 m_Data = Data;
139 m_ID = -1; // Not targetable at runtime by ID
140}
141
142void UMjFrame::RegisterToSpec(FMujocoSpecWrapper& Wrapper, mjsBody* ParentBody)
143{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected