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] Generate Lightmap UVs

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

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

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

property generate_lightmap_u_vs: bool

[Read-Write] Generate Lightmap UVs

Type:

(bool)

property max_lightmap_resolution: DatasmithImportLightmapMax

[Read-Write] Max Lightmap Resolution: Maximum resolution for auto-generated lightmap UVs

Type:

(DatasmithImportLightmapMax)

property min_lightmap_resolution: DatasmithImportLightmapMin

[Read-Write] Min Lightmap Resolution: Minimum resolution for auto-generated lightmap UVs

Type:

(DatasmithImportLightmapMin)

property remove_degenerates: bool

[Read-Write] Remove Degenerates

Type:

(bool)