AutoNodeDefinitionGenerator
- class omni.graph.core.autonode.AutoNodeDefinitionGenerator
Bases:
abc.ABC
Defines an interface for generating a node definition
Methods
generate_from_definitions
(new_type)This method scans the type new_type and outputs an AutoNodeDefinitionWrapper from it, representing the type, as well as a list of members it wishes to hide from the rest of the node extraction process.
name
()- __init__()
- abstract classmethod generate_from_definitions(new_type: type) Tuple[Iterable[omni.graph.core._impl.autonode.type_definitions.AutoNodeDefinitionWrapper], Iterable[str]]
This method scans the type new_type and outputs an AutoNodeDefinitionWrapper from it, representing the type, as well as a list of members it wishes to hide from the rest of the node extraction process.
- Parameters
new_type – the type to analyze by attribute
- Returns: a tuple of:
Iterable[AutoNodeDefinitionWrapper] - an iterable of AutoNodeDefinitionWrapper - every node wrapper that is generated from this type. Iterable[str] - an iterable of all members covered by this handler that other handlers should ignore.