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