FFoliageDensityFalloff

Choose your operating system:

Windows

macOS

Linux

References

Module

Foliage

Header

/Engine/Source/Runtime/Foliage/Public/FoliageType.h

Include

#include "FoliageType.h"

Syntax

struct FFoliageDensityFalloff

Variables

Name Description

Public variable

bool

 

bUseFalloffCurve

Public variable

FRuntimeFloatCu...

 

FalloffCurve

Density as a function of normalized distance (i.e. distance from Procedural Foliage Volume / Max Volume Extent).

Constructors

Name Description

Public function

FFoliageDensityFalloff()

Functions

Name Description

Public function Const

float

 

GetDensityFalloffValue

(
    const FVector2D& Position,
    const FVector2D& Origin,
    float MaxDistance
)

Public function Const

bool

 

IsInstanceFiltered

(
    const FVector2D& Position,
    const FVector2D& Origin,
    float MaxDistance
)