Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAttributeNoiseSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGAttributeNoise.h |
| Include | #include "Elements/PCGAttributeNoise.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGAttributeNoiseSettings : public UPCGSettings
Remarks
Apply some noise to an attribute/property. You can select the mode you want and a noise range. Support all numerical types and vectors/rotators.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bClampResult | Clamp the result between 0 and 1. Always applied if we apply noise to the density. | |
| bool | bHasSpatialToPointDeprecation | Hidden value to indicate that Spatial -> Point deprecation is on where pins are not explicitly points. | |
| bool | bInvertSource | Attribute = 1 - Attribute before applying the operation | |
| FPCGAttributePropertyInputSelector | InputSource | ||
| EPCGAttributeNoiseMode | Mode | Attribute = (Original op Noise), Noise in [NoiseMin, NoiseMax] | |
| float | NoiseMax | ||
| float | NoiseMin | ||
| FPCGAttributePropertyOutputSelector | OutputTarget |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecationBeforeUpdatePins
(
UPCGNode* InOutNode, |
UpdatePins will kick off invalid edges, so this is useful for moving edges around in case of pin changes. | |
| void | ApplyPreconfiguredSettings
(
const FPCGPreConfiguredSettingsInfo& PreconfigureInfo |
||
| FPCGElementPtr | |||
| EPCGDataType | GetCurrentPinTypes
(
const UPCGPin* InPin |
Returns the current pin types, which can either be the static types from the pin properties, or a dynamic type based on connected edges. | |
| FName | |||
| FText | |||
| TArray< FPCGPreConfiguredSettingsInfo > | Expose 2 nodes: Density noise and Attribute Noise that will not have the same defaults. | ||
| EPCGSettingsType | GetType () |
||
| 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 | If the node has any dynamic pins that can change based on input or settings | ||
| TArray< FPCGPinProperties > | Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | ||
| bool | If there are preconfigured info, we can skip the default settings and only expose pre-configured actions in the editor palette | ||
| TArray< FPCGPinProperties > | |||
| void | PostLoad () |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvertSourceDensity_DEPRECATED | ||
| bool | bOutputTargetDifferentFromInputSource_DEPRECATED | ||
| EPCGAttributeNoiseMode | DensityMode_DEPRECATED | Previous names. | |
| float | DensityNoiseMax_DEPRECATED | ||
| float | DensityNoiseMin_DEPRECATED |