Enfusion Script API
|
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 () |
proto external WorldEditorAPI WorldEditor.GetApi | ( | ) |
proto external void WorldEditor.GetResourceBrowserSelection | ( | WorkbenchSearchResourcesCallback | callback, |
bool | recursive = false |
||
) |
Return exact paths of selected items from ResourceBrowser panel in WorldEditor.
proto external bool WorldEditor.IsPrefabEditMode | ( | ) |
Return true
if editor is in prefab edit mode (dedicated mode for editing prefabs).
proto external void WorldEditor.SwitchToEditMode | ( | ) |
proto external void WorldEditor.SwitchToGameMode | ( | bool | debugMode = false , |
bool | fullScreen = false |
||
) |