Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGAttributeNoiseSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGAttributeNoise.h |
| Include | #include "Elements/PCGAttributeNoise.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
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 | 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. | |
| FPCGElementPtr | |||
| FName | |||
| FText | |||
| EPCGSettingsType | GetType () |
||
| 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. | ||
| TArray< FPCGPinProperties > |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bInvertSourceDensity_DEPRECATED | ||
| bool | bOutputTargetDifferentFromInputSource_DEPRECATED | ||
| EPCGAttributeNoiseMode | DensityMode_DEPRECATED | Previous names. | |
| float | DensityNoiseMax_DEPRECATED | ||
| float | DensityNoiseMin_DEPRECATED |