get_graph_resources_uri_masks#
- omni.mdl.neuraylib.utils.get_graph_resources_uri_masks(
- transaction: ITransaction,
- graph_node_db_name: str,
- report_missing: bool = False,
Traverse the material graph to gather all body/default and parameter resources.
- Parameters:
transaction (pymdlsdk.ITransaction) – a DB transaction that is able to see the given graph node
graph_node_db_name (str) – the DB of the node to traverse
report_missing (bool) – If True, resources that can not be resolved are reported with a leading token “[missing]”.
- Returns:
A list of all resource URI masks that the given graph node and its children reference. The empty resource or resources that can not be resolved are not reported unless `report_missing` is set.