Navigation
API > API/Plugins > API/Plugins/PCG > API/Plugins/PCG/Elements
Inheritance Hierarchy
- UObject
- UPCGData
- UPCGSettingsInterface
- UPCGSettings
- UPCGSurfaceSamplerSettings
References
| Module | PCG |
| Header | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGSurfaceSampler.h |
| Include | #include "Elements/PCGSurfaceSampler.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType, ClassGroup=(Procedural))
class UPCGSurfaceSamplerSettings : public UPCGSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bApplyDensityToPoints | ||
| bool | bKeepZeroDensityPoints | ||
| bool | bUnbounded | If no Bounding Shape input is provided, the actor bounds are used to limit the sample generation domain. | |
| float | Looseness | ||
| FVector | PointExtents | ||
| float | PointsPerSquaredMeter | ||
| float | PointSteepness | Each PCG point represents a discretized, volumetric region of world space. |
Overridden from UPCGSettings
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyDeprecation
(
UPCGNode* InOutNode |
Any final migration/recovery that can be done after pins are finalized. | |
| 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 | |||
| 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. | ||
| bool | IsPinUsedByNodeExecution
(
const UPCGPin* InPin |
Returns true if InPin is in use by node (assuming node enabled). | |
| TArray< FPCGPinProperties > | |||
| void | PostLoad () |
||
| bool | UseSeed () |
By default, settings do not use a seed. |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | PointRadius_DEPRECATED |