Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/TQuat
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Gets the result of multiplying this by another quaternion (this * Q). | Math/Quat.h | ||
| Rotate a vector by this quaternion. | Math/Quat.h | ||
| Multiply this by a matrix. | Math/Quat.h | ||
| Get the result of scaling this quaternion. | Math/Quat.h |
operator*(const TQuat< T > &)
Description
Gets the result of multiplying this by another quaternion (this * Q).
Order matters when composing quaternions: C = A * B will yield a quaternion C that logically first applies B then A to any subsequent transformation (right first, then left).
| Name | operator* |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
TQuat < T > operator*
(
const TQuat < T > & Q
) const
The result of multiplication (this * Q).
Parameters
| Name | Remarks |
|---|---|
| Q | The Quaternion to multiply this by. |
operator*(const TVector< T > &)
Description
Rotate a vector by this quaternion.
| Name | operator* |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
TVector < T > operator*
(
const TVector < T > & V
) const
vector after rotation
Parameters
| Name | Remarks |
|---|---|
| V | the vector to be rotated |
See Also
- RotateVector
operator*(const TMatrix< T > &)
Description
Multiply this by a matrix. This matrix conversion came from http://www.m-hikari.com/ija/ija-password-2008/ija-password17-20-2008/aristidouIJA17-20-2008.pdf used for non-uniform scaling transform.
| Name | operator* |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
| Source | /Engine/Source/Runtime/Core/Private/Math/UnrealMath.cpp |
TMatrix < T > operator*
(
const TMatrix < T > & M
) const
Matrix result after multiplication.
Parameters
| Name | Remarks |
|---|---|
| M | Matrix to multiply by. |
operator*(const FArg)
Description
Get the result of scaling this quaternion.
| Name | operator* |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/Quat.h |
| Include Path | #include "Math/Quat.h" |
template<typename FArg, std::enable_if_t<(std::is_arithmetic_v< FArg >), int >>
TQuat < T > operator*
(
const FArg Scale
) const
The result of scaling.
Parameters
| Name | Remarks |
|---|---|
| Scale | The scaling factor. |