unreal.RigVMFunction_MathQuaternionRotateVector

class unreal.RigVMFunction_MathQuaternionRotateVector(transform: Quat = Ellipsis, vector: Vector = Ellipsis, result: Vector = Ellipsis)

Bases: RigVMFunction_MathQuaternionBase

Rotates a given vector by the quaternion

C++ Source:

  • Module: RigVM

  • File: RigVMFunction_MathQuaternion.h

Editor Properties: (see get_editor_property/set_editor_property)

  • result (Vector): [Read-Write]

  • transform (Quat): [Read-Write]

  • vector (Vector): [Read-Write]

property quaternion: Quat

‘quaternion’ was renamed to ‘transform’.

Type:

deprecated

property result: Vector

[Read-Only]

Type:

(Vector)

property transform: Quat

[Read-Write]

Type:

(Quat)

property vector: Vector

[Read-Write]

Type:

(Vector)