unreal.DatasmithRuntimeImportOptions
¶
- class unreal.DatasmithRuntimeImportOptions(tessellation_options=[0.2, 0.0, 20.0, DatasmithCADStitchingTechnique.STITCHING_SEW], build_hierarchy=BuildHierarchyMethod.SIMPLIFIED, build_collisions=CollisionEnabled.QUERY_ONLY, collision_type=CollisionTraceFlag.CTF_USE_COMPLEX_AS_SIMPLE, import_meta_data=True)¶
Bases:
unreal.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] Build Collisions: Indicates the type of collision for components Set to ECollisionEnabled::QueryOnly (spatial queries, no physics) by defaultbuild_hierarchy
(BuildHierarchyMethod): [Read-Write] Build Hierarchy: 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 builtcollision_type
(CollisionTraceFlag): [Read-Write] Collision Type: Indicates the type of collision for static meshes Set to ECollisionTraceFlag::CTF_UseComplexAsSimple by defaultimport_meta_data
(bool): [Read-Write] Import Meta Data: Indicates whether meta-data should be imported or not Meta-data are imported by defaulttessellation_options
(DatasmithTessellationOptions): [Read-Write] Tessellation Options: Tessellation options for CAD import
- property build_collisions¶
[Read-Write] Build Collisions: Indicates the type of collision for components Set to ECollisionEnabled::QueryOnly (spatial queries, no physics) by default
- Type
- property build_hierarchy¶
[Read-Write] Build Hierarchy: 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
- property collision_type¶
[Read-Write] Collision Type: Indicates the type of collision for static meshes Set to ECollisionTraceFlag::CTF_UseComplexAsSimple by default
- Type
- property import_meta_data¶
[Read-Write] Import Meta Data: Indicates whether meta-data should be imported or not Meta-data are imported by default
- Type
(bool)
- property tessellation_options¶
[Read-Write] Tessellation Options: Tessellation options for CAD import
- Type