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

Method ReadAttrVec3

Source/URLab/Private/MuJoCo/Utils/MjXmlUtils.cpp:126–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126bool MjXmlUtils::ReadAttrVec3(const FXmlNode* Node, const TCHAR* Attr, FVector& Out, bool& bOverride)
127{
128 FString Str = Node->GetAttribute(Attr);
129 if (Str.IsEmpty())
130 return false;
131 bOverride = true;
132 Out = ParseVector(Str);
133 return true;
134}
135
136bool MjXmlUtils::ReadAttrColor(const FXmlNode* Node, const TCHAR* Attr, FLinearColor& Out, bool& bOverride)
137{

Callers

nothing calls this directly

Calls 1

IsEmptyMethod · 0.80

Tested by

no test coverage detected