unreal.GeometryScriptCreateNewStaticMeshAssetOptions

class unreal.GeometryScriptCreateNewStaticMeshAssetOptions(enable_recompute_normals: bool = False, enable_recompute_tangents: bool = False, enable_nanite: bool = False, nanite_settings: MeshNaniteSettings = Ellipsis, nanite_proxy_triangle_percent: float = 0.0, enable_collision: bool = False, collision_mode: CollisionTraceFlag = Ellipsis)

Bases: StructBase

Geometry Script Create New Static Mesh Asset Options

C++ Source:

  • Plugin: GeometryScripting

  • Module: GeometryScriptingEditor

  • File: CreateNewAssetUtilityFunctions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • collision_mode (CollisionTraceFlag): [Read-Write] Collision Mode

  • enable_collision (bool): [Read-Write] Enable Collision

  • enable_nanite (bool): [Read-Write] Enable Nanite

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

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

  • nanite_proxy_triangle_percent (float): [Read-Write] Nanite Proxy Triangle Percent: Replaced NaniteProxyTrianglePercent with usage of Engine FMeshNaniteSettings, use NaniteSettings property instead

  • nanite_settings (MeshNaniteSettings): [Read-Write] Nanite Settings: Nanite settings to set on new StaticMesh Asset

property collision_mode: CollisionTraceFlag

[Read-Write] Collision Mode

Type:

(CollisionTraceFlag)

property enable_collision: bool

[Read-Write] Enable Collision

Type:

(bool)

property enable_nanite: bool

[Read-Write] Enable Nanite

Type:

(bool)

property enable_recompute_normals: bool

[Read-Write] Enable Recompute Normals

Type:

(bool)

property enable_recompute_tangents: bool

[Read-Write] Enable Recompute Tangents

Type:

(bool)

property nanite_proxy_triangle_percent: float

[Read-Write] Nanite Proxy Triangle Percent: Replaced NaniteProxyTrianglePercent with usage of Engine FMeshNaniteSettings, use NaniteSettings property instead

Type:

(float)

property nanite_settings: MeshNaniteSettings

[Read-Write] Nanite Settings: Nanite settings to set on new StaticMesh Asset

Type:

(MeshNaniteSettings)