unreal.InterchangeSkeletalMeshLodDataNode

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

Bases: InterchangeFactoryBaseNode

ns UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeFactoryNodes

  • File: InterchangeSkeletalMeshLodDataNode.h

add_mesh_uid(mesh_name) bool

Add one mesh geometry use to create this LOD geometry. Mesh uids can be either a scene or a mesh node. If its a scene it mean we want the mesh factory to bake the geo payload with the global transform of the scene node.

Parameters:

mesh_name (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_mesh_uids() Array[str]

Query all mesh geometry this LOD will be made of. Mesh uids can be either a scene or a mesh node. If its a scene it mean we want the mesh factory to bake the geo payload with the global transform of the scene node.

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_mesh_uids_count() int32

Return the number of mesh geometry this LOD will be made of. Mesh uids can be either a scene or a mesh node. If its a scene it mean we want the mesh factory to bake the geo payload with the global transform of the scene node.

Return type:

int32

remove_all_meshes() bool

Remove all mesh geometry use to create this LOD geometry. Mesh uids can be either a scene or a mesh node. If its a scene it mean we want the mesh factory to bake the geo payload with the global transform of the scene node.

Return type:

bool

remove_mesh_uid(mesh_name) bool

Remove one mesh geometry use to create this LOD geometry. Mesh uids can be either a scene or a mesh node. If its a scene it mean we want the mesh factory to bake the geo payload with the global transform of the scene node.

Parameters:

mesh_name (str) –

Return type:

bool

set_custom_skeleton_uid(attribute_value) bool

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

Parameters:

attribute_value (str) –

Return type:

bool