Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/UGeometryScriptLibrary_VectorMat-
Description
Compute (ConstantA * A) + (ConstantB * B) for each pair of vectors in VectorListA and VectorListB and return in new VectorList. By default (constants = 1) this just adds the two vectors. Set ConstantB = -1 to subtract B from A. Can also be used to Linear Interpolate, by setting ConstantB = (1-ConstantA)
| Name | VectorBlend |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/VectorMathFunctions.h |
| Include Path | #include "GeometryScript/VectorMathFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/VectorMathFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|Math|VectorMath", Meta=(ScriptMethod))
static FGeometryScriptVectorList VectorBlend
(
FGeometryScriptVectorList VectorListA,
FGeometryScriptVectorList VectorListB,
double ConstantA,
double ConstantB
)