unreal.InterchangeMaterialReferenceNode

class unreal.InterchangeMaterialReferenceNode(outer: Object | None = None, name: Name | str = 'None')

Bases: InterchangeBaseNode

Describes a reference to an existing (as in, not imported) material.

The idea is that mesh / actor nodes can reference one of these nodes as a slot dependency, and Interchange will assign that existing material to the corresponding slot during import

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeNodes

  • File: InterchangeMaterialReferenceNode.h

get_custom_content_path() str or None

Gets the content path of the target material (e.g. “/Game/MyFolder/Red.Red”)

Returns:

attribute_value (str):

Return type:

str or None

set_custom_content_path(attribute_value) bool

Sets the content path of the target material (e.g. “/Game/MyFolder/Red.Red”)

Parameters:

attribute_value (str)

Return type:

bool