entity_to_uuid#
- gs_nyx_plugin.nyx_renderer.entity_to_uuid(pair_list, entity)[source]#
Look up the Nyx UUID assigned to a Genesis entity.
- Parameters:
pair_list (list of tuple) –
(entity, uuid)pairs produced byNyxSceneExporterduring scene export. The list is ordered by export order and uses object identity for the entity field.entity (object) – The Genesis entity to look up. Compared by identity (
is), not equality, because two distinct entities can compare equal under Genesis’s__eq__.
- Returns:
uuid or None – The Nyx UUID registered for that entity, or
Noneif the entity was not exported (e.g. its morph hadvisualization=False).