Navigation
API > API/Plugins > API/Plugins/UAF
Attribute value transformer to layer values.
| Name | FLayer |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/UAF/UAF/Source/UAF/Public/UAF/ValueRuntime/Transformers/Layer.h |
| Include Path | #include "UAF/ValueRuntime/Transformers/Layer.h" |
Syntax
struct FLayer : public UE::UAF::FValueTransformer
Inheritance Hierarchy
- FValueTransformer → FLayer
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FTransformBoundValueMapFunc | void(*)(const FBoundValueMap *Base, const FBoundValueMap *Layer, const FBoundValueMap *PerValueWeights, float DefaultLayerWeight, 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/Layer.h |
| FTransformUnboundValueMapFunc | void(*)(const FUnboundValueMap *Base, const FUnboundValueMap *Layer, float LayerWeight, FUnboundValueMap *&OutputMap, FReallocFun OutputAllocator) | UAF/ValueRuntime/Transformers/Layer.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| TransformerName | FName | UAF/ValueRuntime/Transformers/Layer.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Layer values onto a base Output = layer(Base, Layer, LayerWeight) Output = ValueInLayer ? lerp(BaseValue, LayerValue, LayerWeight) : BaseValue Layer values do not have to be present in the Base and extra values are dropped This function supports outputting to either input | UAF/ValueRuntime/Transformers/Layer.h | |
static void Apply
(
const FValueTransformerMapPtr& TransformerMap, |
Layer values onto a base Output = ValueInLayer ? lerp(BaseValue, LayerValue, HasLayerValueWeight ? LayerValueWeight : DefaultLayerWeight) : BaseValue Layer values do not have to be present in the Base and extra values are dropped This function supports outputting to either input | UAF/ValueRuntime/Transformers/Layer.h |