unreal.MeshProcessingLibrary

class unreal.MeshProcessingLibrary(outer=None, name='None')

Bases: unreal.BlueprintFunctionLibrary

Mesh Processing Library

C++ Source:

  • Plugin: StaticMeshEditorExtension
  • Module: MeshProcessingLibrary
  • File: MeshProcessingLibrary.h
classmethod apply_jacketing_on_mesh_actors(actors, options) -> Array(Actor)

Detect partially or totally occluded objects in a list of actors. Truncate partially occluded meshes.

Parameters:
Returns:

occluded_actor_array (Array(Actor)): Array of actors which are fully occluded. Only filled if target is EJacketingTarget::Level.

Return type:

Array(Actor)

classmethod defeature_mesh(static_mesh, lod_index, parameters) → None

Remove holes, emerging and/or non-emerging, and bumps (features).

Parameters:
  • static_mesh (StaticMesh) – Static mesh to remove features from.
  • lod_index (int32) – Index of the StaticMesh LOD.
  • parameters (MeshDefeaturingParameterObject) – Parameter values to use for the defeaturing.