Navigation
API > API/Plugins > API/Plugins/UAF
Attribute value transformer to overwrite values Overwrite is the initial step within an N-step interpolation: Overwrite, Accumulate0, Accumulate1, ... Make sure to also implement variations for Accumulate and Interpolate
| Name | FOverwrite |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/Transformers/Overwrite.h |
| Include Path | #include "UAF/ValueRuntime/Transformers/Overwrite.h" |
Syntax
struct FOverwrite : public UE::UAF::FValueTransformer
Inheritance Hierarchy
- FValueTransformer → FOverwrite
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTransformBoundValueMapFunc | void(*)(const FBoundValueMap *InputMap, const FBoundValueMap *PerValueWeightMap, float DefaultWeight, FBoundValueMap *&OutputMap, FReallocFun OutputAllocator) | If the output buffer is nullptr, an allocator is provided and the implementation is responsible for allocating the output buffer and returning it Note that the input/output buffers can be the same buffer Per-value map is optional, when not present, the default weight should be used Unbound values do not support per-value weights | UAF/ValueRuntime/Transformers/Overwrite.h |
| FTransformUnboundValueMapFunc | void(*)(const FUnboundValueMap *InputMap, float Weight, FUnboundValueMap *&OutputMap, FReallocFun OutputAllocator) | UAF/ValueRuntime/Transformers/Overwrite.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TransformerName | FName | UAF/ValueRuntime/Transformers/Overwrite.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Overwrite attribute values Output = (A * Weight) This function supports outputting to its input | UAF/ValueRuntime/Transformers/Overwrite.h | |
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Overwrite attribute values using per value weights (must be of type FFloatAnimationAttribute) If a weight isn't specified, the default weight will be used Output = A * (HasValueWeight ? ValueWeight : DefaultWeight) This function supports outputting to its input | UAF/ValueRuntime/Transformers/Overwrite.h |