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

Function MjSetStringRaw

Source/URLab/Public/MuJoCo/Utils/MjUtils.h:215–218  ·  view source on GitHub ↗

* @brief Unconditionally write a UE FString to an mjString* field. * * Use when the caller has already verified the value should be written * (e.g. registered mesh asset name, attached body identifier). Does NOT * skip empty strings — the caller's responsibility. * * @param Field The mjString* field. * @param Value The UE FString to write. */

Source from the content-addressed store, hash-verified

213 * @param Value The UE FString to write.
214 */
215inline void MjSetStringRaw(mjString* Field, const FString& Value)
216{
217 mjs_setString(Field, TCHAR_TO_UTF8(*Value));
218}
219
220/**
221 * @brief Overwrite an mjDoubleVec* with the contents of a TArray<float>.

Callers 4

ExportToMethod · 0.85
ExportToMethod · 0.85
SetupMethod · 0.85
AddMeshAssetMethod · 0.85

Calls

no outgoing calls

Tested by 1

AddMeshAssetMethod · 0.68