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

Function override_toggle_name

Scripts/codegen/_codegen_core.py:178–182  ·  view source on GitHub ↗

``bOverride_ `` is the codegen-emitted toggle field that gates whether the corresponding UPROPERTY's value gets written back to the mjs struct.

(prop_name: str)

Source from the content-addressed store, hash-verified

176
177
178def override_toggle_name(prop_name: str) -> str:
179 """``bOverride_<X>`` is the codegen-emitted toggle field that
180 gates whether the corresponding UPROPERTY&#x27;s value gets written
181 back to the mjs struct."""
182 return f"bOverride_{prop_name}"
183
184
185# ---------------------------------------------------------------------------

Callers 15

_emit_upropertyFunction · 0.90
_emit_import_lineFunction · 0.90
_emit_export_lineFunction · 0.90
_emit_double_vec_exportFunction · 0.90
_emit_data_packed_exportFunction · 0.90
_emit_xml_enum_importFunction · 0.90
_emit_xml_enum_exportFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected