Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
WorldEditor Interface Reference
Inheritance diagram for WorldEditor:
[legend]

Public Member Functions

proto external WorldEditorAPI GetApi ()
 
proto external bool GetTerrainBounds (out vector min, out vector max)
 
proto external void SwitchToGameMode (bool debugMode=false, bool fullScreen=false)
 
proto external void SwitchToEditMode ()
 
proto external bool IsPrefabEditMode ()
 Return true if editor is in prefab edit mode (dedicated mode for editing prefabs).
 
proto external void GetResourceBrowserSelection (WorkbenchSearchResourcesCallback callback, bool recursive=false)
 Return exact paths of selected items from ResourceBrowser panel in WorldEditor.
 
- Public Member Functions inherited from WBModuleDef
proto external bool SetOpenedResource (string filename)
 
proto external BaseContainer GetContainer (int index=0)
 
proto external int GetNumContainers ()
 
proto external bool Save ()
 
proto external bool GetCmdLine (string name, out string value)
 
proto external bool Close ()
 
proto external WorkbenchPlugin GetPlugin (TypeName pluginType)
 
- Public Member Functions inherited from pointer
proto string ToString ()
 

Member Function Documentation

◆ GetApi()

proto external WorldEditorAPI WorldEditor.GetApi ( )

◆ GetResourceBrowserSelection()

proto external void WorldEditor.GetResourceBrowserSelection ( WorkbenchSearchResourcesCallback  callback,
bool  recursive = false 
)

Return exact paths of selected items from ResourceBrowser panel in WorldEditor.

◆ GetTerrainBounds()

proto external bool WorldEditor.GetTerrainBounds ( out vector  min,
out vector  max 
)

◆ IsPrefabEditMode()

proto external bool WorldEditor.IsPrefabEditMode ( )

Return true if editor is in prefab edit mode (dedicated mode for editing prefabs).

◆ SwitchToEditMode()

proto external void WorldEditor.SwitchToEditMode ( )

◆ SwitchToGameMode()

proto external void WorldEditor.SwitchToGameMode ( bool  debugMode = false,
bool  fullScreen = false 
)

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