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

Method ToString

Source/URLab/Public/MuJoCo/Utils/MjBind.h:636–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634 }
635
636 FString ToString() const
637 {
638 FString Info = FString::Printf(TEXT("=== Site ID: %d (%s) ===\n"), id, name ? *MjUtils::MjToString(name) : TEXT("None"));
639 Info += FString::Printf(TEXT(" Type: %d | Size: %s\n"), site_type, *FormatVec3(site_size));
640 Info += FString::Printf(TEXT(" World Pos: %s\n"), *FormatVec3(site_xpos));
641 return Info;
642 }
643};
644
645/**

Callers

nothing calls this directly

Calls 1

FormatVec3Function · 0.85

Tested by

no test coverage detected