unreal.RigVMFunction_MathQuaternionSwingTwist

class unreal.RigVMFunction_MathQuaternionSwingTwist(input: Quat = Ellipsis, twist_axis: Vector = Ellipsis, swing: Quat = Ellipsis, twist: Quat = Ellipsis)

Bases: RigVMFunction_MathQuaternionBase

Computes the swing and twist components of a quaternion

C++ Source:

  • Module: RigVM

  • File: RigVMFunction_MathQuaternion.h

Editor Properties: (see get_editor_property/set_editor_property)

  • input (Quat): [Read-Write]

  • swing (Quat): [Read-Write]

  • twist (Quat): [Read-Write]

  • twist_axis (Vector): [Read-Write]

property input: Quat

[Read-Write]

Type:

(Quat)

property swing: Quat

[Read-Only]

Type:

(Quat)

property twist: Quat

[Read-Only]

Type:

(Quat)

property twist_axis: Vector

[Read-Write]

Type:

(Vector)