class WorldEditorAPISource
Constructors 2
private void WorldEditorAPI()private void ~WorldEditorAPI()Methods 25
proto native void EndTerrainAction(string historyPointName = "")begin of logical edit action
proto native bool IsDoingEditAction()true, if code stay betwen BeginEntityAction() and EndEntityAction()
proto native bool UndoOrRedoIsRestoring()true, if editor is restoring undo or redo state
proto native bool IsModifyingData()proto native IEntity SourceToEntity(IEntitySource entSrc)proto native IEntitySource EntityToSource(IEntity ent)proto native IEntitySource FindEntityByName(string name)proto native external void SetEntitySelection(IEntity ent)proto native external void AddToEntitySelection(IEntity ent)proto native void ClearEntitySelection()proto native void RemoveFromEntitySelection(IEntity ent)proto native void SetPropertySelection(string id)proto native external bool ModifyEntityTemplateKey(IEntitySource tmpl, string key, string value)proto native IEntity GetEntityUnderCursor()proto native int GetSelectedEntitiesCount()