unreal.DatasmithStaticMeshImportOptions

class unreal.DatasmithStaticMeshImportOptions(min_lightmap_resolution=DatasmithImportLightmapMin.LIGHTMAP_64, max_lightmap_resolution=DatasmithImportLightmapMax.LIGHTMAP_512, generate_lightmap_u_vs=True, remove_degenerates=True)

Bases: unreal.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

[Read-Write] Generate Lightmap UVs

Type

(bool)

property max_lightmap_resolution

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

Type

(DatasmithImportLightmapMax)

property min_lightmap_resolution

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

Type

(DatasmithImportLightmapMin)

property remove_degenerates

[Read-Write] Remove Degenerates

Type

(bool)