Navigation
API > API/Runtime > API/Runtime/Foliage
References
| Module | Foliage |
| Header | /Engine/Source/Runtime/Foliage/Public/InstancedFoliage.h |
| Include | #include "InstancedFoliage.h" |
Syntax
struct FPotentialInstance
Remarks
Struct to hold potential instances we've sampled.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDesiredFoliageInstance | DesiredInstance | ||
| UPrimitiveComponent * | HitComponent | ||
| FVector | HitLocation | ||
| FVector | HitNormal | ||
| float | HitWeight |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FPotentialInstance
(
FVector InHitLocation, |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | PlaceInstance
(
const UWorld* InWorld, |