unreal.TransformConstraint

class unreal.TransformConstraint(operator: ConstraintDescription = Ellipsis, source_node: Name = 'None', target_node: Name = 'None', weight: float = 0.0, maintain_offset: bool = False)

Bases: 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: bool

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

Type:

(bool)

property 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

Type:

(ConstraintDescription)

property source_node: Name

[Read-Write] Source Node

Type:

(Name)

property target_node: Name

[Read-Write] Target Node

Type:

(Name)

property weight: float

[Read-Write] Weight

Type:

(float)