Enfusion Script API
Loading...
Searching...
No Matches
EditorEntityIterator Interface Reference

Wrapper around GetEditorEntity and GetEditorEntityCount Skips all entities that are not top-level. More...

Public Member Functions

void EditorEntityIterator (notnull WorldEditorAPI api)
 
IEntitySource GetNext ()
 Returns all top level entities in order, null when all entities were iterated.
 
int GetCurrentIdx ()
 

Detailed Description

Wrapper around GetEditorEntity and GetEditorEntityCount Skips all entities that are not top-level.

Editing the underlying entity list invalidates the iterator.

Constructor & Destructor Documentation

◆ EditorEntityIterator()

void EditorEntityIterator.EditorEntityIterator ( notnull WorldEditorAPI api)

Member Function Documentation

◆ GetCurrentIdx()

int EditorEntityIterator.GetCurrentIdx ( )

◆ GetNext()

IEntitySource EditorEntityIterator.GetNext ( )

Returns all top level entities in order, null when all entities were iterated.


The documentation for this interface was generated from the following file: