unreal.InterchangeSkeletalMeshLodDataNode

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

Bases: InterchangeFactoryBaseNode

ns UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeFactoryNodes

  • File: InterchangeSkeletalMeshLodDataNode.h

add_lod_mesh_data(lod_mesh_data) bool

Adds a MeshUid + Transform pair to the node.

Parameters:

lod_mesh_data (InterchangeLODMeshData)

Return type:

bool

add_mesh_uid(mesh_uid) bool

Add Mesh Uid

Parameters:

mesh_uid (str)

Return type:

bool

get_custom_skeleton_uid() str or None

Query the LOD skeletal mesh factory skeleton reference. Return false if the attribute was not set.

Returns:

attribute_value (str):

Return type:

str or None

get_lod_mesh_data_array() Array[InterchangeLODMeshData]

Gets all MeshUid+Transform pairs.

Returns:

out_lod_mesh_data_array (Array[InterchangeLODMeshData]):

Return type:

Array[InterchangeLODMeshData]

get_mesh_uids() Array[str]

Get Mesh Uids

Returns:

out_mesh_uids (Array[str]):

Return type:

Array[str]

get_mesh_uids_count() int32

Return the number of mesh geometries this LOD will be made from.

Return type:

int32

remove_all_meshes() bool

Remove all mesh geometry used to create this LOD geometry.

Return type:

bool

remove_mesh_uid(mesh_uid) None

Removes all occurances of a specific MeshUid from the entries.

Parameters:

mesh_uid (str)

set_custom_skeleton_uid(attribute_value) bool

Set the LOD skeletal mesh factory skeleton reference. Return false if the attribute could not be set.

Parameters:

attribute_value (str)

Return type:

bool