unreal.RigLogicConfiguration

class unreal.RigLogicConfiguration(calculation_type: RigLogicCalculationType = Ellipsis, load_joints: bool = False, load_blend_shapes: bool = False, load_animated_maps: bool = False, load_machine_learned_behavior: bool = False, load_rbf_behavior: bool = False, load_twist_swing_behavior: bool = False, translation_type: RigLogicTranslationType = Ellipsis, rotation_type: RigLogicRotationType = Ellipsis, rotation_order: RigLogicRotationOrder = Ellipsis, scale_type: RigLogicScaleType = Ellipsis, translation_pruning_threshold: float = 0.0, rotation_pruning_threshold: float = 0.0, scale_pruning_threshold: float = 0.0)

Bases: StructBase

Rig Logic Configuration

C++ Source:

  • Plugin: RigLogic

  • Module: RigLogicModule

  • File: RigLogic.h

Editor Properties: (see get_editor_property/set_editor_property)

  • calculation_type (RigLogicCalculationType): [Read-Write]

  • load_animated_maps (bool): [Read-Write]

  • load_blend_shapes (bool): [Read-Write]

  • load_joints (bool): [Read-Write]

  • load_machine_learned_behavior (bool): [Read-Write]

  • load_rbf_behavior (bool): [Read-Write]

  • load_twist_swing_behavior (bool): [Read-Write]

  • rotation_order (RigLogicRotationOrder): [Read-Write]

  • rotation_pruning_threshold (float): [Read-Write] The joint rotation pruning threshold is used to eliminate joint rotation deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try rotation pruning would be 0.1f

  • rotation_type (RigLogicRotationType): [Read-Write]

  • scale_pruning_threshold (float): [Read-Write] The joint scale pruning threshold is used to eliminate joint scale deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try scale pruning would be 0.001f

  • scale_type (RigLogicScaleType): [Read-Write]

  • translation_pruning_threshold (float): [Read-Write] The joint translation pruning threshold is used to eliminate joint translation deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try translation pruning would be 0.0001f

  • translation_type (RigLogicTranslationType): [Read-Write]

property calculation_type: RigLogicCalculationType

[Read-Only]

Type:

(RigLogicCalculationType)

property load_animated_maps: bool

[Read-Write]

Type:

(bool)

property load_blend_shapes: bool

[Read-Write]

Type:

(bool)

property load_joints: bool

[Read-Write]

Type:

(bool)

property load_machine_learned_behavior: bool

[Read-Write]

Type:

(bool)

property load_rbf_behavior: bool

[Read-Write]

Type:

(bool)

property load_twist_swing_behavior: bool

[Read-Write]

Type:

(bool)

property rotation_order: RigLogicRotationOrder

[Read-Only]

Type:

(RigLogicRotationOrder)

property rotation_pruning_threshold: float

[Read-Write] The joint rotation pruning threshold is used to eliminate joint rotation deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try rotation pruning would be 0.1f

Type:

(float)

property rotation_type: RigLogicRotationType

[Read-Only]

Type:

(RigLogicRotationType)

property scale_pruning_threshold: float

[Read-Write] The joint scale pruning threshold is used to eliminate joint scale deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try scale pruning would be 0.001f

Type:

(float)

property scale_type: RigLogicScaleType

[Read-Only]

Type:

(RigLogicScaleType)

property translation_pruning_threshold: float

[Read-Write] The joint translation pruning threshold is used to eliminate joint translation deltas below the specified threshold from the joint matrix when the RigLogic instance is initialized. Use it with caution, as while it may reduce the amount of compute to be done, it may also erase important deltas that could introduce artifacts into the rig. A reasonably safe starting value to try translation pruning would be 0.0001f

Type:

(float)

property translation_type: RigLogicTranslationType

[Read-Only]

Type:

(RigLogicTranslationType)