См. определение в файле PluginSceneManager.c строка 912
Перекрестные ссылки IsRulerActivated(), m_RulerActivated и SceneEditorMenuCmdRefresh().