USDExporterBlueprintLibrary::GetInstancedFoliageActorForLevel

Wraps [AInstancedFoliageActor::GetInstancedFoliageActorForLevel](API\Runtime\Foliage\AInstancedFoliageActor\GetInstancedFoliageActorForLevel), and allows retrieving the current [AInstancedFoliageActor](API\Runtime\Foliage\AInstancedFoliageActor) for a level.

Windows
MacOS
Linux

References

Module

USDExporter

Header

/Engine/Plugins/Importers/USDImporter/Source/USDExporter/Public/USDExporterBlueprintLibrary.h

Include

#include "USDExporterBlueprintLibrary.h"

Source

/Engine/Plugins/Importers/USDImporter/Source/USDExporter/Private/USDExporterBlueprintLibrary.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="USD Foliage Exporter")
static AInstancedFoliageActor * GetInstancedFoliageActorForLevel
(
    bool bCreateIfNone,
    ULevel * Level
)

Remarks

Wraps AInstancedFoliageActor::GetInstancedFoliageActorForLevel, and allows retrieving the current AInstancedFoliageActor for a level. Will default to the current editor level if Level is left nullptr. This function is useful because it's difficult to retrieve this actor otherwise, as it will be filtered from the results of functions like EditorLevelLibrary.get_all_level_actors()

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