unreal.UsdMeshAssetOptions

class unreal.UsdMeshAssetOptions(use_payload: bool = False, payload_format: str = '', bake_materials: bool = False, material_baking_options: UsdMaterialBakingOptions = Ellipsis, lowest_mesh_lod: int = 0, highest_mesh_lod: int = 0)

Bases: StructBase

Usd Mesh Asset Options

C++ Source:

  • Plugin: USDImporter

  • Module: USDExporter

  • File: USDAssetOptions.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bake_materials (bool): [Read-Write] Whether to bake the mesh’s assigned material and export these as separate UsdPreviewSurface assets

  • highest_mesh_lod (int32): [Read-Write] Highest of the LOD indices to export static and skeletal meshes with

  • lowest_mesh_lod (int32): [Read-Write] Lowest of the LOD indices to export static and skeletal meshes with (use 0 for full detail)

  • material_baking_options (UsdMaterialBakingOptions): [Read-Write]

  • payload_format (str): [Read-Write] USD format to use for exported payload files

  • use_payload (bool): [Read-Write] If true, the mesh data is exported to yet another “payload” file, and referenced via a payload composition arc

property bake_materials: bool

[Read-Write] Whether to bake the mesh’s assigned material and export these as separate UsdPreviewSurface assets

Type:

(bool)

property highest_mesh_lod: int

[Read-Write] Highest of the LOD indices to export static and skeletal meshes with

Type:

(int32)

property lowest_mesh_lod: int

[Read-Write] Lowest of the LOD indices to export static and skeletal meshes with (use 0 for full detail)

Type:

(int32)

property material_baking_options: UsdMaterialBakingOptions

[Read-Write]

Type:

(UsdMaterialBakingOptions)

property payload_format: str

[Read-Write] USD format to use for exported payload files

Type:

(str)

property use_payload: bool

[Read-Write] If true, the mesh data is exported to yet another “payload” file, and referenced via a payload composition arc

Type:

(bool)