Interop#

class omni.mdl.neuraylib.Interop#

Bases: pybind11_object

A Collection of functions to support renderer and tools with common tasks.

Methods

__init__(*args, **kwargs)

recreateMaterialInScope(self, arg0, arg1, arg2)

Creates a deep copy of a material in a temporary scope.

__init__(*args, **kwargs)#
recreateMaterialInScope(
self: omni.mdl.neuraylib._neuraylib.Interop,
arg0: omni.mdl.neuraylib._neuraylib.MdlEntitySnapshot,
arg1: str,
arg2: str,
) bool#

Creates a deep copy of a material in a temporary scope. This includes module loading and resource resolution. It’s meant to be used by tools that work with the MDL representation like the exporters or bakers.