unreal.GeometryScriptCopyMeshToAssetOptions

class unreal.GeometryScriptCopyMeshToAssetOptions(enable_recompute_normals=False, enable_recompute_tangents=False, enable_remove_degenerates=False, replace_materials=False, new_materials=[], new_material_slot_names=[], apply_nanite_settings=False, nanite_settings=[True, 100.0, 0.0], emit_transaction=True, defer_mesh_post_edit_change=False)

Bases: unreal.StructBase

Geometry Script Copy Mesh to Asset Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingCore

  • File: MeshAssetFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • apply_nanite_settings (bool): [Read-Write] Apply Nanite Settings: If enabled, NaniteSettings will be applied to the target Asset if possible

  • defer_mesh_post_edit_change (bool): [Read-Write] Defer Mesh Post Edit Change

  • emit_transaction (bool): [Read-Write] Emit Transaction

  • enable_recompute_normals (bool): [Read-Write] Enable Recompute Normals

  • enable_recompute_tangents (bool): [Read-Write] Enable Recompute Tangents

  • enable_remove_degenerates (bool): [Read-Write] Enable Remove Degenerates

  • nanite_settings (GeometryScriptNaniteOptions): [Read-Write] Nanite Settings: Nanite Settings applied to the target Asset, if bApplyNaniteSettings = true

  • new_material_slot_names (Array(Name)): [Read-Write] New Material Slot Names

  • new_materials (Array(MaterialInterface)): [Read-Write] New Materials

  • replace_materials (bool): [Read-Write] Replace Materials

property apply_nanite_settings

[Read-Write] Apply Nanite Settings: If enabled, NaniteSettings will be applied to the target Asset if possible

Type

(bool)

property defer_mesh_post_edit_change

[Read-Write] Defer Mesh Post Edit Change

Type

(bool)

property emit_transaction

[Read-Write] Emit Transaction

Type

(bool)

property enable_recompute_normals

[Read-Write] Enable Recompute Normals

Type

(bool)

property enable_recompute_tangents

[Read-Write] Enable Recompute Tangents

Type

(bool)

property enable_remove_degenerates

[Read-Write] Enable Remove Degenerates

Type

(bool)

property nanite_settings

[Read-Write] Nanite Settings: Nanite Settings applied to the target Asset, if bApplyNaniteSettings = true

Type

(GeometryScriptNaniteOptions)

property new_material_slot_names

[Read-Write] New Material Slot Names

Type

(Array(Name))

property new_materials

[Read-Write] New Materials

Type

(Array(MaterialInterface))

property replace_materials

[Read-Write] Replace Materials

Type

(bool)