unreal.InterchangePipelineMeshesUtilities

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

Bases: Object

Interchange Pipeline Meshes Utilities

C++ Source:

  • Plugin: Interchange

  • Module: InterchangePipelines

  • File: InterchangePipelineMeshesUtilities.h

classmethod create_interchange_pipeline_meshes_utilities(base_node_container) InterchangePipelineMeshesUtilities

Create an instance of UInterchangePipelineMeshesUtilities.

Parameters:

base_node_container (InterchangeBaseNodeContainer) –

Return type:

InterchangePipelineMeshesUtilities

get_all_mesh_geometry() Array[str]

Get the unique IDs of all mesh geometry.

Returns:

mesh_geometry_uids (Array[str]):

Return type:

Array[str]

get_all_mesh_geometry_not_instanced() Array[str]

Get the unique IDs of all non-instanced mesh geometry.

Returns:

mesh_geometry_uids (Array[str]):

Return type:

Array[str]

get_all_mesh_instance_uids() Array[str]

Get the unique IDs of all mesh instances.

Returns:

mesh_instance_uids (Array[str]):

Return type:

Array[str]

get_all_mesh_instance_uids_using_mesh_geometry_uid(mesh_geometry_uid) Array[str]

Get all instanced mesh UIDs that use the mesh geometry unique ID.

Parameters:

mesh_geometry_uid (str) –

Returns:

mesh_instance_uids (Array[str]):

Return type:

Array[str]

get_all_skinned_mesh_geometry() Array[str]

Get the unique IDs of all skinned mesh geometry.

Returns:

mesh_geometry_uids (Array[str]):

Return type:

Array[str]

get_all_skinned_mesh_instance() Array[str]

Get the unique IDs of all skinned mesh instances.

Returns:

mesh_instance_uids (Array[str]):

Return type:

Array[str]

get_all_static_mesh_geometry() Array[str]

Get the unique IDs of all static mesh geometry.

Returns:

mesh_geometry_uids (Array[str]):

Return type:

Array[str]

get_all_static_mesh_instance() Array[str]

Get the unique IDs of all static mesh instances.

Returns:

mesh_instance_uids (Array[str]):

Return type:

Array[str]

get_mesh_geometry_by_uid(mesh_geometry_uid) InterchangeMeshGeometry

Get the geometry mesh from the unique ID.

Parameters:

mesh_geometry_uid (str) –

Return type:

InterchangeMeshGeometry

get_mesh_geometry_skeleton_root_uid(mesh_geometry_uid) str

Return the skeleton root node UID. This is the UID for a UInterchangeSceneNode that has a “Joint” specialized type. Return an empty string if the MeshGeometryUid parameter points to nothing.

Parameters:

mesh_geometry_uid (str) –

Return type:

str

get_mesh_instance_by_uid(mesh_instance_uid) InterchangeMeshInstance

Get the instanced mesh from the unique ID.

Parameters:

mesh_instance_uid (str) –

Return type:

InterchangeMeshInstance

get_mesh_instance_skeleton_root_uid(mesh_instance_uid) str

Return the skeleton root node UID. This is the UID for a UInterchangeSceneNode that has a “Joint” specialized type. Return an empty string if the MeshInstanceUid parameter points to nothing.

Parameters:

mesh_instance_uid (str) –

Return type:

str

is_valid_mesh_geometry_uid(mesh_geometry_uid) bool

Return true if there is an existing FInterchangeMeshGeometry that matches the MeshInstanceUid key.

Parameters:

mesh_geometry_uid (str) –

Return type:

bool

is_valid_mesh_instance_uid(mesh_instance_uid) bool

Return true if there is an existing FInterchangeMeshInstance that matches the MeshInstanceUid key.

Parameters:

mesh_instance_uid (str) –

Return type:

bool

set_context(context) None

Set Context

Parameters:

context (InterchangePipelineMeshesUtilitiesContext) –