unreal.IKRetargetPreviewPropOpSettings

class unreal.IKRetargetPreviewPropOpSettings(enabled: bool = False, lod_threshold: int = 0, attach_mapping: None = {}, preview_props: None = [], debug_material: MaterialInterface = Ellipsis, show_source_props: bool = False)

Bases: IKRetargetOpSettingsBase

Preview Prop Settings

C++ Source:

  • Plugin: RelativeIKOp

  • Module: PreviewPropOp

  • File: PreviewPropOp.h

Editor Properties: (see get_editor_property/set_editor_property)

  • attach_mapping (Map[Name, Name]): [Read-Write] Attach bone source -> target name mapping

  • debug_material (MaterialInterface): [Read-Write] Debug Material for displaying props (must work w/ dynamic mesh, e.g. physics materials)

  • enabled (bool): [Read-Write] Enable/disable the entire operation. Disabled ops are skipped entirely and do not run at all.

  • lod_threshold (int32): [Read-Write] The maximum LOD that this Op is allowed to run at. For example if you have LODThreshold of 2, the Op will run until LOD 2 (based on 0 index). When the component LOD becomes 3, it will stop running. A value of -1 forces the Op to execute at all LOD levels. Default is -1.

  • preview_props (Array[PreviewPropsData]): [Read-Write] Prop info to preview when debug drawing enabled

  • show_source_props (bool): [Read-Write] Prop info to preview when debug drawing enabled

property attach_mapping: None

[Read-Write] Attach bone source -> target name mapping

Type:

(Map[Name, Name])

property debug_material: MaterialInterface

[Read-Write] Debug Material for displaying props (must work w/ dynamic mesh, e.g. physics materials)

Type:

(MaterialInterface)

property preview_props: None

[Read-Write] Prop info to preview when debug drawing enabled

Type:

(Array[PreviewPropsData])

property show_source_props: bool

[Read-Write] Prop info to preview when debug drawing enabled

Type:

(bool)