unreal.ConstraintDescription

class unreal.ConstraintDescription(translation=True, rotation=True, scale=False, parent=False, translation_axes=[True, True, True], rotation_axes=[True, True, True], scale_axes=[True, True, True])

Bases: unreal.StructBase

A description of how to apply a simple transform constraint

C++ Source:

  • Module: AnimationCore

  • File: Constraint.h

Editor Properties: (see get_editor_property/set_editor_property)

  • parent (bool): [Read-Write] this does composed transform - where as individual will accumulate per component

  • rotation (bool): [Read-Write] Rotation

  • rotation_axes (FilterOptionPerAxis): [Read-Write] Rotation Axes

  • scale (bool): [Read-Write] Scale

  • scale_axes (FilterOptionPerAxis): [Read-Write] Scale Axes

  • translation (bool): [Read-Write] Translation

  • translation_axes (FilterOptionPerAxis): [Read-Write] Translation Axes

property parent

[Read-Write] this does composed transform - where as individual will accumulate per component

Type

(bool)

property rotation

[Read-Write] Rotation

Type

(bool)

property rotation_axes

[Read-Write] Rotation Axes

Type

(FilterOptionPerAxis)

property scale

[Read-Write] Scale

Type

(bool)

property scale_axes

[Read-Write] Scale Axes

Type

(FilterOptionPerAxis)

property translation

[Read-Write] Translation

Type

(bool)

property translation_axes

[Read-Write] Translation Axes

Type

(FilterOptionPerAxis)