unreal.UsdStageImportOptions
¶
- class unreal.UsdStageImportOptions(outer=None, name='None')¶
Bases:
unreal.Object
Usd Stage Import Options
C++ Source:
Plugin: USDImporter
Module: USDStageImporter
File: USDStageImportOptions.h
Editor Properties: (see get_editor_property/set_editor_property)
existing_actor_policy
(ReplaceActorPolicy): [Read-Write] Existing Actor Policy: What should happen when imported actors and components try to overwrite existing actors and componentsexisting_asset_policy
(ReplaceAssetPolicy): [Read-Write] Existing Asset Policy: What should happen when imported assets try to overwrite existing assetsimport_actors
(bool): [Read-Write] Import Actorsimport_geometry
(bool): [Read-Write] Import Geometryimport_level_sequences
(bool): [Read-Write] Import Level Sequencesimport_materials
(bool): [Read-Write] Import Materialsimport_skeletal_animations
(bool): [Read-Write] Import Skeletal Animations: Whether to try importing UAnimSequence skeletal animation assets for each encountered UsdSkelAnimQueryinterpret_lo_ds
(bool): [Read-Write] Interpret LODs: When true, if a prim has a “LOD” variant set with variants named “LOD0”, “LOD1”, etc. where each contains a UsdGeomMesh, the importer will attempt to parse the meshes as separate LODs of a single UStaticMesh. When false, only the selected variant will be parsed as LOD0 of the UStaticMesh.kinds_to_collapse
(int32): [Read-Write] Kinds to Collapse: Whether to try to combine individual assets and components of the same type on a kind-per-kind basis, like multiple Mesh prims into a single Static Meshnanite_triangle_threshold
(int32): [Read-Write] Nanite Triangle Threshold: Try enabling Nanite for static meshes that are generated with at least this many trianglesoverride_stage_options
(bool): [Read-Write] Override Stage Options: Whether to use the specified StageOptions instead of the stage’s own settingsprim_path_folder_structure
(bool): [Read-Write] Prim Path Folder Structure: When enabled, assets will be imported into a content folder structure according to their prim path. When disabled, assets are imported into content folders according to asset type (e.g. ‘Materials’, ‘StaticMeshes’, etc).purposes_to_import
(int32): [Read-Write] Purposes to Import: Only import prims with these specific purposes from the USD filerender_context_to_import
(Name): [Read-Write] Render Context to Import: Specifies which set of shaders to use, defaults to universal.reuse_identical_assets
(bool): [Read-Write] Reuse Identical Assets: If enabled, whenever two different prims import into identical assets, only one of those assets will be kept and reused.stage_options
(UsdStageOptions): [Read-Write] Stage Options: Custom StageOptions to use for the stage
- property existing_actor_policy¶
[Read-Write] Existing Actor Policy: What should happen when imported actors and components try to overwrite existing actors and components
- Type
- property existing_asset_policy¶
[Read-Write] Existing Asset Policy: What should happen when imported assets try to overwrite existing assets
- Type
- property import_skeletal_animations¶
[Read-Write] Import Skeletal Animations: Whether to try importing UAnimSequence skeletal animation assets for each encountered UsdSkelAnimQuery
- Type
(bool)
- property interpret_lo_ds¶
[Read-Write] Interpret LODs: When true, if a prim has a “LOD” variant set with variants named “LOD0”, “LOD1”, etc. where each contains a UsdGeomMesh, the importer will attempt to parse the meshes as separate LODs of a single UStaticMesh. When false, only the selected variant will be parsed as LOD0 of the UStaticMesh.
- Type
(bool)
- property kinds_to_collapse¶
[Read-Write] Kinds to Collapse: Whether to try to combine individual assets and components of the same type on a kind-per-kind basis, like multiple Mesh prims into a single Static Mesh
- Type
(int32)
- property nanite_triangle_threshold¶
[Read-Write] Nanite Triangle Threshold: Try enabling Nanite for static meshes that are generated with at least this many triangles
- Type
(int32)
- property override_stage_options¶
[Read-Write] Override Stage Options: Whether to use the specified StageOptions instead of the stage’s own settings
- Type
(bool)
- property prim_path_folder_structure¶
[Read-Write] Prim Path Folder Structure: When enabled, assets will be imported into a content folder structure according to their prim path. When disabled, assets are imported into content folders according to asset type (e.g. ‘Materials’, ‘StaticMeshes’, etc).
- Type
(bool)
- property purposes_to_import¶
[Read-Write] Purposes to Import: Only import prims with these specific purposes from the USD file
- Type
(int32)
- property render_context_to_import¶
[Read-Write] Render Context to Import: Specifies which set of shaders to use, defaults to universal.
- Type
(Name)
- property reuse_identical_assets¶
[Read-Write] Reuse Identical Assets: If enabled, whenever two different prims import into identical assets, only one of those assets will be kept and reused.
- Type
(bool)
- property stage_options¶
[Read-Write] Stage Options: Custom StageOptions to use for the stage
- Type