Navigation
API > API/Runtime > API/Runtime/Foliage
| Name | FFoliageDensityFalloff |
| Type | struct |
| Header File | /Engine/Source/Runtime/Foliage/Public/FoliageType.h |
| Include Path | #include "FoliageType.h" |
Syntax
USTRUCT ()
struct FFoliageDensityFalloff
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FFoliageDensityFalloff() |
FoliageType.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseFalloffCurve | bool | FoliageType.h |
|
|
| FalloffCurve | FRuntimeFloatCurve | Density as a function of normalized distance (i.e. distance from Procedural Foliage Volume / Max Volume Extent). | FoliageType.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetDensityFalloffValue
(
const FVector2D& Position, |
FoliageType.h | ||
bool IsInstanceFiltered
(
const FVector2D& Position, |
FoliageType.h |