* @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. */
| 213 | * @param Value The UE FString to write. |
| 214 | */ |
| 215 | inline 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>. |
no outgoing calls