unreal.GeometryScript_MeshTransforms

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

Bases: BlueprintFunctionLibrary

Geometry Script Library Mesh Transform Functions

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshTransformFunctions.h

classmethod rotate_mesh(target_mesh, rotation, rotation_origin=[0.000000, 0.000000, 0.000000], debug=None) DynamicMesh

Rotates the mesh relative to the specified Rotation Origin.

Parameters:
Return type:

DynamicMesh

classmethod rotate_mesh_selection(target_mesh, selection, rotation, rotation_origin=[0.000000, 0.000000, 0.000000], debug=None) DynamicMesh

Rotates the selected part of the mesh relative to the specified Rotation Origin.

Parameters:
Return type:

DynamicMesh

classmethod scale_mesh(target_mesh, scale=[1.000000, 1.000000, 1.000000], scale_origin=[0.000000, 0.000000, 0.000000], fix_orientation_for_negative_scale=True, debug=None) DynamicMesh

Applies the provided Scale transformation relative to the Scale Origin to the vertices of a Mesh.

Parameters:
Return type:

DynamicMesh

classmethod scale_mesh_selection(target_mesh, selection, scale=[1.000000, 1.000000, 1.000000], scale_origin=[0.000000, 0.000000, 0.000000], debug=None) DynamicMesh

Applies the given Scale transform relative to the Scale Origin to the selection part of the mesh.

Parameters:
Return type:

DynamicMesh

classmethod transform_mesh(target_mesh, transform, fix_orientation_for_negative_scale=True, debug=None) DynamicMesh

Applies the provided Transform to the vertices of a Mesh.

Parameters:
Return type:

DynamicMesh

classmethod transform_mesh_selection(target_mesh, selection, transform, debug=None) DynamicMesh

Applies the given Transform to the vertices identified by the Selection of the mesh.

Parameters:
Return type:

DynamicMesh

classmethod translate_mesh(target_mesh, translation, debug=None) DynamicMesh

Applies the provided Translation to the vertices of a Mesh.

Parameters:
Return type:

DynamicMesh

classmethod translate_mesh_selection(target_mesh, selection, translation, debug=None) DynamicMesh

Applies the given Translation to the vertices identified by the Selection of the mesh.

Parameters:
Return type:

DynamicMesh

classmethod translate_pivot_to_location(target_mesh, pivot_location, debug=None) DynamicMesh

Set the Pivot Location for the Mesh. Since the Pivot of a Mesh object is always the point at (0,0,0), this function simply translates the mesh by -PivotLocation.

Parameters:
Return type:

DynamicMesh