Navigation
API > API/Plugins > API/Plugins/PCG
Remap attribute values from one range to another.
| Name | UPCGAttributeRemapSettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/Metadata/PCGAttributeRemap.h |
| Include Path | #include "Elements/Metadata/PCGAttributeRemap.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttributeRemapSettings : public UPCGMetadataSettingsBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGMetadataSettingsBase → UPCGAttributeRemapSettings
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UPCGAttributeRemapSettings() |
Elements/Metadata/PCGAttributeRemap.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bAllowInverseRange | bool | Allow remapping when Min is larger than Max, e.g. from [0.0, 1.0] -> [1.0, 0.0]. | Elements/Metadata/PCGAttributeRemap.h |
|
| bClampToUnitRange | bool | If checked, outside values will be clamped between 0 and 1. | Elements/Metadata/PCGAttributeRemap.h |
|
| bIgnoreValuesOutsideInputRange | bool | Attribute values outside of the input range will be unaffected by the remapping | Elements/Metadata/PCGAttributeRemap.h |
|
| Curve | FRuntimeFloatCurve | Elements/Metadata/PCGAttributeRemap.h |
|
|
| InputSource | FPCGAttributePropertyInputSelector | Elements/Metadata/PCGAttributeRemap.h |
|
|
| InRangeMax | double | If InRangeMin = InRangeMax, then that attribute value is mapped to the average of OutRangeMin and OutRangeMax | Elements/Metadata/PCGAttributeRemap.h |
|
| InRangeMin | double | If InRangeMin = InRangeMax, then that attribute value is mapped to the average of OutRangeMin and OutRangeMax | Elements/Metadata/PCGAttributeRemap.h |
|
| Mode | EPCGAttributeRemapMode | Elements/Metadata/PCGAttributeRemap.h |
|
|
| OutRangeMax | double | Elements/Metadata/PCGAttributeRemap.h |
|
|
| OutRangeMin | double | Elements/Metadata/PCGAttributeRemap.h |
|
Functions
Public
Overridden from UPCGMetadataSettingsBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGAttributePropertyInputSelector GetInputSource
(
uint32 Index |
Elements/Metadata/PCGAttributeRemap.h | ||
virtual bool IsSupportedInputType
(
uint16 TypeId, |
Elements/Metadata/PCGAttributeRemap.h |
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ApplyPreconfiguredSettings
(
const FPCGPreConfiguredSettingsInfo& PreconfigureInfo |
Elements/Metadata/PCGAttributeRemap.h | ||
virtual FString GetAdditionalTitleInformation() |
Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | Elements/Metadata/PCGAttributeRemap.h | |
virtual FName GetDefaultNodeName() |
Elements/Metadata/PCGAttributeRemap.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/Metadata/PCGAttributeRemap.h | ||
virtual FText GetNodeTooltipText() |
Elements/Metadata/PCGAttributeRemap.h | ||
virtual TArray< FPCGPreConfiguredSettingsInfo > GetPreconfiguredInfo() |
Return preconfigured info that will be filled in the editor palette action, allowing to create pre-configured settings | Elements/Metadata/PCGAttributeRemap.h | |
virtual bool GroupPreconfiguredSettings() |
If there are preconfigured info, decide if they are grouped in the palette in a folder with the node name, or if they are not grouped. | Elements/Metadata/PCGAttributeRemap.h | |
virtual bool HasFlippedTitleLines() |
Display generated title line as primary title (example: BP nodes display the blueprint name as the primary title). | Elements/Metadata/PCGAttributeRemap.h |
Overridden from IPCGSettingsDefaultValueProvider
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual EPCGMetadataTypes GetPinInitialDefaultValueType
(
FName PinLabel |
For the initial 'default value' type of the pin. | Elements/Metadata/PCGAttributeRemap.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/Metadata/PCGAttributeRemap.h |