Navigation
API > API/Plugins > API/Plugins/PCG
Finds the angle against the specified direction and applies that to the density
| Name | UPCGNormalToDensitySettings |
| Type | class |
| Header File | /Engine/Plugins/PCG/Source/PCG/Public/Elements/PCGNormalToDensity.h |
| Include Path | #include "Elements/PCGNormalToDensity.h" |
Syntax
UCLASS (BlueprintType, ClassGroup=(Procedural))
class UPCGNormalToDensitySettings : public UPCGSettings
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UPCGData → UPCGSettingsInterface → UPCGSettings → UPCGNormalToDensitySettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| DensityMode | PCGNormalToDensityMode | The operator to apply to the output density. | Elements/PCGNormalToDensity.h |
|
| Normal | FVector | The normal to compare against. | Elements/PCGNormalToDensity.h |
|
| Offset | double | This biases the value towards or against the normal (positive or negative) | Elements/PCGNormalToDensity.h |
|
| Strength | double | This applies a curve to scale the result density with Result = Result^(1/Strength) | Elements/PCGNormalToDensity.h |
|