Navigation
API > API/Plugins > API/Plugins/GeometryScriptingCore > API/Plugins/GeometryScriptingCore/GeometryScript > API/Plugins/GeometryScriptingCore/GeometryScript/UGeometryScriptL-_39
References
| Module | GeometryScriptingCore |
| Header | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Public/GeometryScript/VectorMathFunctions.h |
| Include | #include "GeometryScript/VectorMathFunctions.h" |
| Source | /Engine/Plugins/Runtime/GeometryScripting/Source/GeometryScriptingCore/Private/VectorMathFunctions.cpp |
UFUNCTION (BlueprintCallable, Category="GeometryScript|VectorMath", Meta=(ScriptMethod))
static FGeometryScriptScalarList ScalarBlend
(
FGeometryScriptScalarList ScalarListA,
FGeometryScriptScalarList ScalarListB,
double ConstantA,
double ConstantB
)
Remarks
Compute (ConstantA * A) + (ConstantB * B) for each pair of values in ScalarListA and ScalarListB and return in new ScalarList. By default (constants = 1) this just adds the two values. Set ConstantB = -1 to subtract B from A. Can also be used to Linear Interpolate, by setting ConstantB = (1-ConstantA)