Navigation
API > API/Plugins > API/Plugins/UAF
Attribute value transformer to apply additive values onto a base.
| Name | FApplyAdditiveSpace |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/Transformers/AdditiveSpace.h |
| Include Path | #include "UAF/ValueRuntime/Transformers/AdditiveSpace.h" |
Syntax
struct FApplyAdditiveSpace : public UE::UAF::FValueTransformer
Inheritance Hierarchy
- FValueTransformer → FApplyAdditiveSpace
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTransformBoundValueMapFunc | void(*)(const FBoundValueMap *Base, const FBoundValueMap *Additive, const FBoundValueMap *PerValueWeightMap, float DefaultWeight, FBoundValueMap *&Output, 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 If the base map is missing, transformers should use a default value 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/AdditiveSpace.h |
| FTransformUnboundValueMapFunc | void(*)(const FUnboundValueMap *Base, const FUnboundValueMap *Additive, float AdditiveWeight, FUnboundValueMap *&Output, FReallocFun OutputAllocator) | UAF/ValueRuntime/Transformers/AdditiveSpace.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TransformerName | FName | UAF/ValueRuntime/Transformers/AdditiveSpace.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Applies an additive collection onto a base by adding it Output = Base + Lerp(Identity, Additive, Weight) This function supports outputting to either input | UAF/ValueRuntime/Transformers/AdditiveSpace.h | |
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Applies an additive collection onto a base by adding it using per value weights (must be of type FFloatAnimationAttribute) If a weight isn't specified, the default weight will be used Output = Base + Lerp(Identity, Additive, HasValueWeight ? ValueWeight : DefaultWeight) This function supports outputting to either input | UAF/ValueRuntime/Transformers/AdditiveSpace.h |