Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FCurveUtils
Description
Inserts elements to curves in bulk. This is more efficient that just calling Curve.Set() repeatedly.
| Name | BulkSet |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/Animation/AnimCurveUtils.h |
| Include Path | #include "Animation/AnimCurveUtils.h" |
template<typename CurveType0, typename CurveType1, typename ValuePredicateType>
static void BulkSet
(
CurveType0 & InCurve,
const CurveType1 & InBulkCurves,
ValuePredicateType InValuePredicate
)
Parameters
| Name | Remarks |
|---|---|
| InCurve | The curve to set values into |
| InBulkCurves | The curve specifying values to set |
| InValuePredicate | Predicate to set each value. Signature: (const CurveType1::ElementType& InElement1) -> float |