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 is 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 |
|
Functions
Public
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CreateKernels
(
FPCGGPUCompilationContext& InOutContext, |
[EXPERIMENTAL] Create the GPU kernels and kernel edges that should execute for this node. | Elements/PCGNormalToDensity.h | |
virtual bool DisplayExecuteOnGPUSetting () |
[EXPERIMENTAL] Whether to display GPU execution option in node settings UI. | Elements/PCGNormalToDensity.h | |
virtual FName GetDefaultNodeName() |
Elements/PCGNormalToDensity.h | ||
virtual FText GetDefaultNodeTitle() |
Elements/PCGNormalToDensity.h | ||
virtual EPCGSettingsType GetType() |
Elements/PCGNormalToDensity.h |
Protected
Overridden from UPCGSettings
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FPCGElementPtr CreateElement() |
Elements/PCGNormalToDensity.h | ||
virtual TArray< FPCGPinProperties > InputPinProperties() |
Returns an array of all the input pin properties. You should not add manually a "params" pin, it is handled automatically by FillOverridableParamsPins. | Elements/PCGNormalToDensity.h | |
virtual TArray< FPCGPinProperties > OutputPinProperties() |
Elements/PCGNormalToDensity.h |