Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
VectorRegister4Float VectorCross
(
const VectorRegister4Float& Vec1, |
Calculates the cross product of two vectors (XYZ components). | Math/UnrealMathFPU.h | |
VectorRegister4Double VectorCross
(
const VectorRegister4Double& Vec1, |
Math/UnrealMathFPU.h |
VectorCross(const VectorRegister4Float &, const VectorRegister4Float &)
Description
Calculates the cross product of two vectors (XYZ components). W of the input should be 0, and will remain 0.
| Name | VectorCross |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorCross
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
cross(Vec1.xyz, Vec2.xyz). W of the input should be 0, and will remain 0.
Parameters
| Name | Remarks |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |
VectorCross(const VectorRegister4Double &, const VectorRegister4Double &)
| Name | VectorCross |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
VectorRegister4Double VectorCross
(
const VectorRegister4Double & Vec1,
const VectorRegister4Double & Vec2
)