uuid_to_entity#

gs_nyx_plugin.nyx_renderer.uuid_to_entity(pair_list, uuid)[source]#

Reverse lookup: return the Genesis entity that owns a Nyx UUID.

Used to translate the targetUUID returned by Nyx’s pixel-pick raycast back into the Genesis-side entity object.

Parameters:
  • pair_list (list of tuple) – (entity, uuid) pairs from NyxSceneExporter.

  • uuid (object) – UUID value to match (Nyx’s gs_nyx.nyx_py_sdk.uuid type).

Returns:

object or None – The Genesis entity, or None if the UUID is not present in the pair list.