GE Lua Documentation

Press F to search!

setDrawObjectIcons

Definition


-- @/=[C]:-1
function setDrawObjectIcons(...)

Callers

@/lua/ge/extensions/editor/objectTool.lua
  if path == "gizmos.general.useObjectBoxCenter" then worldEditorCppApi.setUseObjectsBoxCenter(value) end
  if path == "gizmos.general.drawObjectIcons" then worldEditorCppApi.setDrawObjectIcons(value) end
  if path == "gizmos.general.drawObjectsText" then worldEditorCppApi.setDrawObjectsText(value) end
@/lua/ge/extensions/editor/api/gizmo.lua
  editor.setPreference("gizmos.general.drawObjectIcons", not editor.getPreference("gizmos.general.drawObjectIcons"))
  worldEditorCppApi.setDrawObjectIcons(editor.getPreference("gizmos.general.drawObjectIcons"))
end