unreal.InterchangeFactoryBaseNode

class unreal.InterchangeFactoryBaseNode(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: InterchangeBaseNode

This struct is used to store and retrieve key value attributes. The attributes are store in a generic FAttributeStorage which serialize the value in a TArray64<uint8> See UE::Interchange::EAttributeTypes to know the supported template types This is an abstract class. This is the base class of the interchange node graph format, all class in this format should derive from this class

C++ Source:

  • Module: InterchangeCore

  • File: InterchangeFactoryBaseNode.h

add_factory_dependency_uid(dependency_uid) bool

Add one dependency to this object.

Parameters:

dependency_uid (str) –

Return type:

bool

get_custom_reference_object() SoftObjectPath or None

Return the custom ReferenceObject. The UObject this factory node has created.

Returns:

attribute_value (SoftObjectPath):

Return type:

SoftObjectPath or None

get_custom_sub_path() str or None

Return the custom sub-path under PackageBasePath, where the assets will be created.

Returns:

attribute_value (str):

Return type:

str or None

get_factory_dependencies() Array[str]

This function allow to retrieve the dependency for this object.

Returns:

out_dependencies (Array[str]):

Return type:

Array[str]

get_factory_dependencies_count() int32

This function allow to retrieve the number of factory dependencies for this object.

Return type:

int32

get_factory_dependency(index) str

This function allow to retrieve one dependency for this object.

Parameters:

index (int32) –

Returns:

out_dependency (str):

Return type:

str

get_reimport_strategy_flags() ReimportStrategyFlags

Return the reimport strategy flags.

Return type:

ReimportStrategyFlags

remove_factory_dependency_uid(dependency_uid) bool

Remove one dependency from this object.

Parameters:

dependency_uid (str) –

Return type:

bool

set_custom_reference_object(attribute_value) bool

Set the custom ReferenceObject. The UObject this factory node has created.

Parameters:

attribute_value (SoftObjectPath) –

Return type:

bool

set_custom_sub_path(attribute_value) bool

Set the custom sub-path under PackageBasePath where the assets will be created.

Parameters:

attribute_value (str) –

Return type:

bool

set_reimport_strategy_flags(reimport_strategy_flags) bool

Change the reimport strategy flags.

Parameters:

reimport_strategy_flags (ReimportStrategyFlags) –

Return type:

bool