unreal.DatasmithRuntimeImportOptions

class unreal.DatasmithRuntimeImportOptions(tessellation_options: DatasmithTessellationOptions = Ellipsis, build_hierarchy: BuildHierarchyMethod = Ellipsis, build_collisions: CollisionEnabled = Ellipsis, collision_type: CollisionTraceFlag = Ellipsis, import_meta_data: bool = False)

Bases: StructBase

Datasmith Runtime Import Options

C++ Source:

  • Plugin: DatasmithRuntime

  • Module: DatasmithRuntime

  • File: DatasmithRuntime.h

Editor Properties: (see get_editor_property/set_editor_property)

  • build_collisions (CollisionEnabled): [Read-Write] Indicates the type of collision for components Set to ECollisionEnabled::QueryOnly (spatial queries, no physics) by default

  • build_hierarchy (BuildHierarchyMethod): [Read-Write] Indicates whether a hierarchy of actors should be built or not. In the case a hierarchy is built, it can be simplified to minimize the number of actors created By default, a simplified hierarchy is built

  • collision_type (CollisionTraceFlag): [Read-Write] Indicates the type of collision for static meshes Set to ECollisionTraceFlag::CTF_UseComplexAsSimple by default

  • import_meta_data (bool): [Read-Write] Indicates whether meta-data should be imported or not Meta-data are imported by default

  • tessellation_options (DatasmithTessellationOptions): [Read-Write] Tessellation options for CAD import

property build_collisions: CollisionEnabled

[Read-Write] Indicates the type of collision for components Set to ECollisionEnabled::QueryOnly (spatial queries, no physics) by default

Type:

(CollisionEnabled)

property build_hierarchy: BuildHierarchyMethod

[Read-Write] Indicates whether a hierarchy of actors should be built or not. In the case a hierarchy is built, it can be simplified to minimize the number of actors created By default, a simplified hierarchy is built

Type:

(BuildHierarchyMethod)

property collision_type: CollisionTraceFlag

[Read-Write] Indicates the type of collision for static meshes Set to ECollisionTraceFlag::CTF_UseComplexAsSimple by default

Type:

(CollisionTraceFlag)

property import_meta_data: bool

[Read-Write] Indicates whether meta-data should be imported or not Meta-data are imported by default

Type:

(bool)

property tessellation_options: DatasmithTessellationOptions

[Read-Write] Tessellation options for CAD import

Type:

(DatasmithTessellationOptions)