Navigation
API > API/Plugins > API/Plugins/InterchangeEditor > API/Plugins/InterchangeEditor/UInterchangeEditorScriptLibrary
Description
Returns all actors contained within a loaded level instance. Does not require the level instance to be in edit mode. Returns an empty array if the level instance is not loaded.
| Name | LevelInstanceGetActors |
| Type | function |
| Header File | /Engine/Plugins/Interchange/Editor/Source/InterchangeEditor/Public/InterchangeEditorScriptLibrary.h |
| Include Path | #include "InterchangeEditorScriptLibrary.h" |
| Source | /Engine/Plugins/Interchange/Editor/Source/InterchangeEditor/Private/InterchangeEditorScriptLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="Interchange Utilities | Level Instance")
static TArray < AActor * > LevelInstanceGetActors
(
ALevelInstance * LevelInstance
)
Array of actors in the level instance.
Parameters
| Name | Remarks |
|---|---|
| LevelInstance | to get actors from |