unreal.InterchangeStaticMeshLodDataNode¶
- class unreal.InterchangeStaticMeshLodDataNode(outer: Object | None = None, name: Name | str = 'None')¶
Bases:
InterchangeFactoryBaseNodenamespace UE
C++ Source:
Plugin: Interchange
Module: InterchangeFactoryNodes
File: InterchangeStaticMeshLodDataNode.h
- add_capsule_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool¶
Add Capsule Collision Mesh Uids
- add_convex_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool¶
Add Convex Collision Mesh Uids
- add_sphere_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool¶
Add Sphere Collision Mesh Uids
- get_box_collision_mesh_uids_count() int32¶
Get Box Collision Mesh Uids Count
- Return type:
int32
- get_capsule_collision_mesh_uids_count() int32¶
Get Capsule Collision Mesh Uids Count
- Return type:
int32
- 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_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_collision_mesh_uids_count() int32¶
Get Sphere Collision Mesh Uids Count
- Return type:
int32
- 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
- set_import_collision_type(attribute_value) bool¶
Set Import Collision Type
- Parameters:
attribute_value (InterchangeMeshCollision)
- Return type: