unreal.InterchangeStaticMeshLodDataNode

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

Bases: InterchangeFactoryBaseNode

namespace UE

C++ Source:

  • Plugin: Interchange

  • Module: InterchangeFactoryNodes

  • File: InterchangeStaticMeshLodDataNode.h

add_box_collision_mesh_uid(collider_mesh_uid) bool

Add Box Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

add_box_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool

Add Box Collision Mesh Uids

Parameters:
  • collider_mesh_uid (str)

  • render_mesh_uid (str)

Return type:

bool

add_capsule_collision_mesh_uid(collider_mesh_uid) bool

Add Capsule Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

add_capsule_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool

Add Capsule Collision Mesh Uids

Parameters:
  • collider_mesh_uid (str)

  • render_mesh_uid (str)

Return type:

bool

add_convex_collision_mesh_uid(collider_mesh_uid) bool

Add Convex Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

add_convex_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool

Add Convex Collision Mesh Uids

Parameters:
  • collider_mesh_uid (str)

  • render_mesh_uid (str)

Return type:

bool

add_mesh_uid(mesh_name) bool

Add Mesh Uid

Parameters:

mesh_name (str)

Return type:

bool

add_sphere_collision_mesh_uid(collider_mesh_uid) bool

Add Sphere Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

add_sphere_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool

Add Sphere Collision Mesh Uids

Parameters:
  • collider_mesh_uid (str)

  • render_mesh_uid (str)

Return type:

bool

get_box_collider_render_mesh_uid(collider_mesh_uid) str

Get Box Collider Render Mesh Uid

Parameters:

collider_mesh_uid (str)

Returns:

out_render_mesh_uid (str):

Return type:

str

get_box_collision_mesh_map() Map[str, str]

Get Box Collision Mesh Map

Return type:

Map[str, str]

get_box_collision_mesh_uids() Array[str]

Get Box Collision Mesh Uids

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_box_collision_mesh_uids_count() int32

Get Box Collision Mesh Uids Count

Return type:

int32

get_capsule_collider_render_mesh_uid(collider_mesh_uid) str

Get Capsule Collider Render Mesh Uid

Parameters:

collider_mesh_uid (str)

Returns:

out_render_mesh_uid (str):

Return type:

str

get_capsule_collision_mesh_map() Map[str, str]

Get Capsule Collision Mesh Map

Return type:

Map[str, str]

get_capsule_collision_mesh_uids() Array[str]

Get Capsule Collision Mesh Uids

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_capsule_collision_mesh_uids_count() int32

Get Capsule Collision Mesh Uids Count

Return type:

int32

get_convex_collider_render_mesh_uid(collider_mesh_uid) str

Get Convex Collider Render Mesh Uid

Parameters:

collider_mesh_uid (str)

Returns:

out_render_mesh_uid (str):

Return type:

str

get_convex_collision_mesh_map() Map[str, str]

Get Convex Collision Mesh Map

Return type:

Map[str, str]

get_convex_collision_mesh_uids() Array[str]

Get Convex Collision Mesh Uids

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_convex_collision_mesh_uids_count() int32

Get Convex Collision Mesh Uids Count

Return type:

int32

get_force_collision_primitive_generation() bool or None

Gets whether we’re generating collision primitive shapes even if the mesh data doesn’t match the desired shape very well

Returns:

generate (bool):

Return type:

bool or None

get_import_collision() bool or None

Get Import Collision

Returns:

attribute_value (bool):

Return type:

bool or None

get_import_collision_type() InterchangeMeshCollision or None

Get Import Collision Type

Returns:

attribute_value (InterchangeMeshCollision):

Return type:

InterchangeMeshCollision or None

get_mesh_uids() Array[str]

Get Mesh Uids

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_mesh_uids_count() int32

Mesh UIDs can be either a scene node or a mesh node UID. If it is a scene node, the mesh factory bakes the geometry payload with the global transform of the scene node.

Return type:

int32

get_one_convex_hull_per_ucx() bool or None

Get One Convex Hull Per UCX

Returns:

attribute_value (bool):

Return type:

bool or None

get_sphere_collider_render_mesh_uid(collider_mesh_uid) str

Get Sphere Collider Render Mesh Uid

Parameters:

collider_mesh_uid (str)

Returns:

out_render_mesh_uid (str):

Return type:

str

get_sphere_collision_mesh_map() Map[str, str]

Get Sphere Collision Mesh Map

Return type:

Map[str, str]

get_sphere_collision_mesh_uids() Array[str]

Get Sphere Collision Mesh Uids

Returns:

out_mesh_names (Array[str]):

Return type:

Array[str]

get_sphere_collision_mesh_uids_count() int32

Get Sphere Collision Mesh Uids Count

Return type:

int32

remove_all_box_collision_meshes() bool

Remove All Box Collision Meshes

Return type:

bool

remove_all_capsule_collision_meshes() bool

Remove All Capsule Collision Meshes

Return type:

bool

remove_all_convex_collision_meshes() bool

Remove All Convex Collision Meshes

Return type:

bool

remove_all_meshes() bool

Remove All Meshes

Return type:

bool

remove_all_sphere_collision_meshes() bool

Remove All Sphere Collision Meshes

Return type:

bool

remove_box_collision_mesh_uid(collider_mesh_uid) bool

Remove Box Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

remove_capsule_collision_mesh_uid(collider_mesh_uid) bool

Remove Capsule Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

remove_convex_collision_mesh_uid(mesh_name) bool

Remove Convex Collision Mesh Uid

Parameters:

mesh_name (str)

Return type:

bool

remove_mesh_uid(mesh_name) bool

Remove Mesh Uid

Parameters:

mesh_name (str)

Return type:

bool

remove_sphere_collision_mesh_uid(collider_mesh_uid) bool

Remove Sphere Collision Mesh Uid

Parameters:

collider_mesh_uid (str)

Return type:

bool

set_force_collision_primitive_generation(generate) bool

Sets whether we’re generating collision primitive shapes even if the mesh data doesn’t match the desired shape very well

Parameters:

generate (bool)

Return type:

bool

set_import_collision(attribute_value) bool

Set Import Collision

Parameters:

attribute_value (bool)

Return type:

bool

set_import_collision_type(attribute_value) bool

Set Import Collision Type

Parameters:

attribute_value (InterchangeMeshCollision)

Return type:

bool

set_one_convex_hull_per_ucx(attribute_value) bool

Set One Convex Hull Per UCX

Parameters:

attribute_value (bool)

Return type:

bool