USDExporterBlueprintLibrary::GetUsedFoliageTypes

Returns all the different types of [UFoliageType](API\Runtime\Foliage\UFoliageType) assets that a particular [AInstancedFoliageActor](API\Runtime\Foliage\AInstancedFoliageActor) uses.

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, Meta=(ScriptMethod), Category="USD Foliage Exporter")
static TArray< UFoliageType * > GetUsedFoliageTypes
(
    AInstancedFoliageActor * Actor
)

Remarks

Returns all the different types of UFoliageType assets that a particular AInstancedFoliageActor uses. This function exists because we want to retrieve all instances of all foliage types on an actor, but we can't return nested containers from UFUNCTIONs, so users of this API should call this, and then GetInstanceTransforms.

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