unreal.UsdMeshAssetOptions

class unreal.UsdMeshAssetOptions(use_payload: bool = False, payload_format: str = '', bake_materials: bool = False, remove_unreal_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] Bake Materials: Whether to bake the mesh’s assigned material and export these as separate UsdPreviewSurface assets

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

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

  • material_baking_options (UsdMaterialBakingOptions): [Read-Write] Material Baking Options

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

  • remove_unreal_materials (bool): [Read-Write] Remove Unreal Materials: Whether to remove the ‘unrealMaterial’ attribute after binding the corresponding baked material

  • use_payload (bool): [Read-Write] Use Payload: 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] Bake Materials: 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 Mesh LOD: Highest of the LOD indices to export static and skeletal meshes with

Type:

(int32)

property lowest_mesh_lod: int

[Read-Write] Lowest Mesh LOD: 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] Material Baking Options

Type:

(UsdMaterialBakingOptions)

property payload_format: str

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

Type:

(str)

property remove_unreal_materials: bool

[Read-Write] Remove Unreal Materials: Whether to remove the ‘unrealMaterial’ attribute after binding the corresponding baked material

Type:

(bool)

property use_payload: bool

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

Type:

(bool)