Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore
| Name | UGeometryScriptLibrary_VectorMathFunctions |
| Type | class |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/VectorMathFunctions.h |
| Include Path | #include "GeometryScript/VectorMathFunctions.h" |
Syntax
UCLASS (MinimalAPI, Meta=(ScriptName="GeometryScript_VectorMath"))
class UGeometryScriptLibrary_VectorMathFunctions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → UGeometryScriptLibrary_VectorMathFunctions
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FGeometryScriptScalarList ConstantScalarMultiply
(
double Constant, |
Returns a Scalar List of the same length as the input Scalar List, with the elements computed as (Constant * A) where A is the corresponding element in the input List. | GeometryScript/VectorMathFunctions.h |
|
static void ConstantScalarMultiplyInPlace
(
double Constant, |
Compute (Constant * A) for each element A is the Scalar List, and the result is stored in the original Scalar List. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptVectorList ConstantVectorMultiply
(
double Constant, |
Compute (Constant * Vector) for each element in VectorList, and return in a new list | GeometryScript/VectorMathFunctions.h |
|
static void ConstantVectorMultiplyInPlace
(
double Constant, |
Compute (Constant * Vector) for each element in VectorList, and store in VectorList | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList ScalarBlend
(
FGeometryScriptScalarList ScalarListA, |
Compute (ConstantA * A) + (ConstantB * B) for each pair of values in ScalarListA and ScalarListB and return in new ScalarList. | GeometryScript/VectorMathFunctions.h |
|
static void ScalarBlendInPlace
(
FGeometryScriptScalarList ScalarListA, |
Compute (ConstantA * A) + (ConstantB * B) for each pair of values in ScalarListA and ScalarListB and return in ScalarListB. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList ScalarInvert
(
FGeometryScriptScalarList ScalarList, |
Compute (Numerator / Scalar) for each element of ScalarList and return in a new ScalarList. | GeometryScript/VectorMathFunctions.h |
|
static void ScalarInvertInPlace
(
UPARAM(ref) FGeometryScriptScalarList& ScalarList, |
Compute (Numerator / Scalar) for each element of ScalarList and store in input ScalarList If Abs(Scalar) < Epsilon, set to SetOnFailure value. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList ScalarMultiply
(
FGeometryScriptScalarList ScalarListA, |
Returns a Scalar List constructed with each element is the product (ConstantMultiplier * A * B) where A and B are the corresponding elements from ScalarListA and ScalarListB accordingly. | GeometryScript/VectorMathFunctions.h |
|
static void ScalarMultiplyInPlace
(
FGeometryScriptScalarList ScalarListA, |
Compute (ConstantMultiplier * A * B) where A and B are the corresponding elements from ScalarListA and ScalarListB accordingly, and store the result in ScalarListA. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptVectorList ScalarVectorMultiply
(
FGeometryScriptScalarList ScalarList, |
Compute (ScalarMultiplier * Scalar * Vector) for each scalar/vector pair in the two input lists, and return in a new VectorList. | GeometryScript/VectorMathFunctions.h |
|
static void ScalarVectorMultiplyInPlace
(
FGeometryScriptScalarList ScalarList, |
Compute (ScalarMultiplier * Scalar * Vector) for each scalar/vector pair in the two input lists, and store in the input VectorList | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptVectorList VectorBlend
(
FGeometryScriptVectorList VectorListA, |
Compute (ConstantA * A) + (ConstantB * B) for each pair of vectors in VectorListA and VectorListB and return in new VectorList. | GeometryScript/VectorMathFunctions.h |
|
static void VectorBlendInPlace
(
FGeometryScriptVectorList VectorListA, |
Compute (ConstantA * A) + (ConstantB * B) for each pair of vectors in VectorListA and VectorListB, and store in VectorListB By default (constants = 1) this just adds the two vectors. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptVectorList VectorCross
(
FGeometryScriptVectorList VectorListA, |
Compute the cross-product between each pair of vectors in VectorListA and VectorListB and return in new VectorList | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList VectorDot
(
FGeometryScriptVectorList VectorListA, |
Compute the dot-product between each pair of vectors in VectorListA and VectorListB and return in new ScalarList | GeometryScript/VectorMathFunctions.h |
|
static void VectorInverseTransformInPlace
(
UPARAM(ref) FGeometryScriptVectorList& VectorList, |
Inverse transform each vector in VectorList, and store in VectorList. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList VectorLength
(
FGeometryScriptVectorList VectorList |
Compute the length/magnitude of each vector in VectorListA and return in new ScalarList. | GeometryScript/VectorMathFunctions.h |
|
static void VectorNormalizeInPlace
(
UPARAM(ref) FGeometryScriptVectorList& VectorList, |
Normalize each vector in VectorList, and store in VectorList. | GeometryScript/VectorMathFunctions.h |
|
static void VectorPlaneProjectInPlace
(
UPARAM(ref) FGeometryScriptVectorList& VectorList, |
Project each vector in VectorList to the given Plane, and store in VectorList. | GeometryScript/VectorMathFunctions.h |
|
static FGeometryScriptScalarList VectorToScalar
(
FGeometryScriptVectorList VectorList, |
Convert each Vector in VectorList to a Scalar by computing (ConstantX*Vector.X + ConstantY*Vector.Y + ConstantZ*Vector.Z), and return in a new ScalarList. | GeometryScript/VectorMathFunctions.h |
|
static void VectorTransformInPlace
(
UPARAM(ref) FGeometryScriptVectorList& VectorList, |
Transform each vector in VectorList, and store in VectorList. | GeometryScript/VectorMathFunctions.h |
|