AInstancedFoliageActor::GetInstancedFoliageActorForCurrentLevel

Get the instanced foliage actor for the current streaming level.

Windows
MacOS
Linux

References

Module

Foliage

Header

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

Include

#include "InstancedFoliageActor.h"

Source

/Engine/Source/Runtime/Foliage/Private/InstancedFoliage.cpp

Syntax

static AInstancedFoliageActor * GetInstancedFoliageActorForCurrentLevel
(
    UWorld * InWorld,
    bool bCreateIfNone
)

Remarks

Get the instanced foliage actor for the current streaming level.

Parameters

Parameter

Description

InCreationWorldIfNone

World to create the foliage instance in

bCreateIfNone

Create if doesnt already exist returns pointer to foliage object instance

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