unreal.GeometryScript_AssetUtils

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

Bases: BlueprintFunctionLibrary

Although the class name indicates StaticMeshFunctions, that was a naming mistake that is difficult to correct. This class is intended to serve as a generic asset utils function library. The naming issue is only visible at the C++ level. It is not visible in Python or BP.

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshAssetFunctions.h

classmethod copy_mesh_from_skeletal_mesh(from_skeletal_mesh_asset, to_dynamic_mesh, asset_options, requested_lod, debug=None) -> (DynamicMesh, outcome=GeometryScriptOutcomePins)

Copy Mesh from Skeletal Mesh

Parameters:
Returns:

outcome (GeometryScriptOutcomePins):

Return type:

GeometryScriptOutcomePins

classmethod copy_mesh_from_static_mesh(from_static_mesh_asset, to_dynamic_mesh, asset_options, requested_lod, debug=None) -> (DynamicMesh, outcome=GeometryScriptOutcomePins)

Copy Mesh from Static Mesh

Parameters:
Returns:

outcome (GeometryScriptOutcomePins):

Return type:

GeometryScriptOutcomePins

classmethod copy_mesh_to_skeletal_mesh(from_dynamic_mesh, to_skeletal_mesh_asset, options, target_lod, debug=None) -> (DynamicMesh, outcome=GeometryScriptOutcomePins)

Copy Mesh to Skeletal Mesh

Parameters:
Returns:

outcome (GeometryScriptOutcomePins):

Return type:

GeometryScriptOutcomePins

classmethod copy_mesh_to_static_mesh(from_dynamic_mesh, to_static_mesh_asset, options, target_lod, debug=None) -> (DynamicMesh, outcome=GeometryScriptOutcomePins)

Copy Mesh to Static Mesh

Parameters:
Returns:

outcome (GeometryScriptOutcomePins):

Return type:

GeometryScriptOutcomePins

classmethod get_section_material_list_from_static_mesh(from_static_mesh_asset, requested_lod, debug=None) -> (material_list=Array[MaterialInterface], material_index=Array[int32], outcome=GeometryScriptOutcomePins)

Get Section Material List from Static Mesh

Parameters:
Returns:

material_list (Array[MaterialInterface]):

material_index (Array[int32]):

outcome (GeometryScriptOutcomePins):

Return type:

tuple