Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGMetadataSettingsBase
- UPCGAttributeRemapSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAttributeRemap.h |
| Include | #include "Elements/PCGAttributeRemap.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttributeRemapSettings : public UPCGMetadataSettingsBase
Remarks
Remap attribute values from one range to another.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAllowInverseRange | Allow remapping when Min is larger than Max, e.g. from [0.0, 1.0] -> [1.0, 0.0]. | |
| bool | bClampToUnitRange | If checked, outside values will be clamped between 0 and 1. | |
| bool | bIgnoreValuesOutsideInputRange | Attribute values outside of the input range will be unaffected by the remapping | |
| FPCGAttributePropertyInputSelector | InputSource | ||
| double | InRangeMax | If InRangeMin = InRangeMax, then that attribute value is mapped to the average of OutRangeMin and OutRangeMax | |
| double | InRangeMin | If InRangeMin = InRangeMax, then that attribute value is mapped to the average of OutRangeMin and OutRangeMax | |
| double | OutRangeMax | ||
| double | OutRangeMin |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from UPCGMetadataSettingsBase
| Type | Name | Description | |
|---|---|---|---|
| FPCGAttributePropertyInputSelector | GetInputSource
(
uint32 Index |
||
| bool | IsSupportedInputType
(
uint16 TypeId, |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyPreconfiguredSettings
(
const FPCGPreConfiguredSettingsInfo& PreconfigureInfo |
||
| FPCGElementPtr | |||
| FString | Derived classes can implement this to expose additional information or context, such as an asset in use by the node. | ||
| FName | |||
| FText | |||
| TArray< FPCGPreConfiguredSettingsInfo > | Return preconfigured info that will be filled in the editor palette action, allowing to create pre-configured settings | ||
| bool | 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. | ||
| bool | Display generated title line as primary title (example: BP nodes display the blueprint name as the primary title). |