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_box_collision_mesh_data(mesh_data) bool¶
New collision-handling functions
- Parameters:
mesh_data (InterchangeLODMeshData)
- Return type:
- add_capsule_collision_mesh_data(mesh_data) bool¶
Add Capsule Collision Mesh Data
- Parameters:
mesh_data (InterchangeLODMeshData)
- Return type:
- add_capsule_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool¶
Add Capsule Collision Mesh Uids
- add_convex_collision_mesh_data(mesh_data) bool¶
Add Convex Collision Mesh Data
- Parameters:
mesh_data (InterchangeLODMeshData)
- Return type:
- add_convex_collision_mesh_uids(collider_mesh_uid, render_mesh_uid) bool¶
Add Convex Collision Mesh Uids
- add_lod_mesh_data(lod_mesh_data) bool¶
Add LODMesh Data
- Parameters:
lod_mesh_data (InterchangeLODMeshData)
- Return type:
- add_sphere_collision_mesh_data(mesh_data) bool¶
Add Sphere Collision Mesh Data
- Parameters:
mesh_data (InterchangeLODMeshData)
- Return type:
- 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_box_collisions_mesh_data_array() Array[InterchangeLODMeshData]¶
Get Box Collisions Mesh Data Array
- Returns:
out_mesh_data_array (Array[InterchangeLODMeshData]):
- Return type:
- get_capsule_collision_mesh_uids_count() int32¶
Get Capsule Collision Mesh Uids Count
- Return type:
int32
- get_capsule_collisions_mesh_data_array() Array[InterchangeLODMeshData]¶
Get Capsule Collisions Mesh Data Array
- Returns:
out_mesh_data_array (Array[InterchangeLODMeshData]):
- Return type:
- get_convex_collision_mesh_uids_count() int32¶
Get Convex Collision Mesh Uids Count
- Return type:
int32
- get_convex_collisions_mesh_data_array() Array[InterchangeLODMeshData]¶
Get Convex Collisions Mesh Data Array
- Returns:
out_mesh_data_array (Array[InterchangeLODMeshData]):
- Return type:
- 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_lod_mesh_data_array() Array[InterchangeLODMeshData]¶
Get LODMesh Data Array
- Returns:
out_lod_mesh_data_array (Array[InterchangeLODMeshData]):
- Return type:
- get_lod_mesh_data_array_count() int32¶
Get LODMesh Data Array Count
- Return type:
int32
- get_mesh_uids_count() int32¶
Get Mesh Uids Count
- Return type:
int32
- get_one_convex_hull_per_ucx() bool or None¶
End of new collision-handling functions
- 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
- get_sphere_collisions_mesh_data_array() Array[InterchangeLODMeshData]¶
Get Sphere Collisions Mesh Data Array
- Returns:
out_mesh_data_array (Array[InterchangeLODMeshData]):
- Return type:
- remove_mesh_uid(mesh_uid) None¶
Removes all entries where FInterchangeLODMeshData.MeshUid == MeshUid
- Parameters:
mesh_uid (str)
- 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: