FPotentialInstance

Struct to hold potential instances we've sampled.

Windows
MacOS
Linux

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

Name Description

Public variable

FDesiredFoliage...

 

DesiredInstance

Public variable

UPrimitiveCompo...

 

HitComponent

Public variable

FVector

 

HitLocation

Public variable

FVector

 

HitNormal

Public variable

float

 

HitWeight

Constructors

Name Description

Public function

FPotentialInstance

(
    FVector InHitLocation,
    FVector InHitNormal,
    UPrimitiveComponent* InHitComp...,
    float InHitWeight,
    const FDesiredFoliageInstance& InD...
)

Functions

Name Description

Public function

bool

 

PlaceInstance

(
    const UWorld* InWorld,
    const UFoliageType* Settings,
    FFoliageInstance& Inst,
    bool bSkipCollision
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss