Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGSpatialNoiseSettings
References
| Module | PCG |
| Header | /Engine/Plugins/Experimental/PCG/Source/PCG/Public/Elements/PCGSpatialNoise.h |
| Include | #include "Elements/PCGSpatialNoise.h" |
Syntax
UCLASS&40;BlueprintType, ClassGroup&61;&40;Procedural&41;&41;
class UPCGSpatialNoiseSettings : public UPCGSettings
Remarks
Various fractal noises that can be used to filter points
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | Brightness | ||
| bool | bTiling | If true, will generate results that tile along the bounding box size of the | |
| bool | bVoronoiOrientSamplesToCellEdge | If true it will orient the output points to point towards the cell edges, which can be used for effects. | |
| float | Contrast | ||
| float | EdgeBlendCurveIntensity | Will makes the falloff harsher or softer | |
| float | EdgeBlendCurveOffset | Adjust the center point of the curve (where x = curve(x) crosses over) | |
| float | EdgeBlendDistance | If > 0, we blend to a tiling edge value | |
| PCGSpatialNoiseMask2DMode | EdgeMask2DMode | ||
| int32 | Iterations | This is how many times the fractal method recurses. A higher number will mean more detail | |
| PCGSpatialNoiseMode | Mode | The noise method used. | |
| FVector | RandomOffset | Adds a random amount of offset up to this amount. | |
| int32 | TiledVoronoiEdgeBlendCellCount | How many cells around the edge will tile | |
| int32 | TiledVoronoiResolution | The cell resolution of the tiled voronoi (across the bounds) | |
| FTransform | Transform | This will apply a transform to the points before calculating noise | |
| FPCGAttributePropertyOutputNoSourceSelector | ValueTarget | The output attribute name to write, if not 'None'. | |
| FPCGAttributePropertyOutputNoSourceSelector | VoronoiCellIDTarget | The output attribute name to write the voronoi cell id, if not 'None'. | |
| double | VoronoiCellRandomness | The less random this is, the more it returns to being a grid |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| 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 > |