unreal.TransformConstraint

class unreal.TransformConstraint(operator=[True, True, False, False, [True, True, True], [True, True, True], [True, True, True]], source_node='None', target_node='None', weight=1.0, maintain_offset=True)

Bases: unreal.StructBase

Transform Constraint

C++ Source:

  • Module: AnimationCore

  • File: Constraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • maintain_offset (bool): [Read-Write] Maintain Offset: When the constraint is first applied, maintain the offset from the target node

  • operator (ConstraintDescription): [Read-Write] Operator: note: thought of separating this out per each but we’ll have an issue with applying transform in what order but something to think about if that seems better

  • source_node (Name): [Read-Write] Source Node

  • target_node (Name): [Read-Write] Target Node

  • weight (float): [Read-Write] Weight

property maintain_offset

[Read-Write] Maintain Offset: When the constraint is first applied, maintain the offset from the target node

Type

(bool)

property operator

[Read-Write] Operator: note: thought of separating this out per each but we’ll have an issue with applying transform in what order but something to think about if that seems better

Type

(ConstraintDescription)

property source_node

[Read-Write] Source Node

Type

(Name)

property target_node

[Read-Write] Target Node

Type

(Name)

property weight

[Read-Write] Weight

Type

(float)