unreal.DatasmithStaticMeshImportOptions

class unreal.DatasmithStaticMeshImportOptions(min_lightmap_resolution: DatasmithImportLightmapMin = Ellipsis, max_lightmap_resolution: DatasmithImportLightmapMax = Ellipsis, generate_lightmap_u_vs: bool = False, remove_degenerates: bool = False)

Bases: StructBase

Datasmith Static Mesh Import Options

C++ Source:

  • Plugin: DatasmithContent

  • Module: DatasmithContent

  • File: DatasmithImportOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • generate_lightmap_u_vs (bool): [Read-Write]

  • max_lightmap_resolution (DatasmithImportLightmapMax): [Read-Write] Maximum resolution for auto-generated lightmap UVs

  • min_lightmap_resolution (DatasmithImportLightmapMin): [Read-Write] Minimum resolution for auto-generated lightmap UVs

  • remove_degenerates (bool): [Read-Write]

property generate_lightmap_u_vs: bool

[Read-Write]

Type:

(bool)

property max_lightmap_resolution: DatasmithImportLightmapMax

[Read-Write] Maximum resolution for auto-generated lightmap UVs

Type:

(DatasmithImportLightmapMax)

property min_lightmap_resolution: DatasmithImportLightmapMin

[Read-Write] Minimum resolution for auto-generated lightmap UVs

Type:

(DatasmithImportLightmapMin)

property remove_degenerates: bool

[Read-Write]

Type:

(bool)