Exemplo n.º 1
0
        void PullEngines()
        {
            // Calling HasEngineOverride will make sure the engine apis are registered.
            switch (m_EngineScope)
            {
            case SearchEngineScope.Project: ProjectSearch.HasEngineOverride();
                break;

            case SearchEngineScope.Scene: SceneSearch.HasEngineOverride();
                break;

            case SearchEngineScope.ObjectSelector: ObjectSelectorSearch.HasEngineOverride();
                break;
            }
        }
Exemplo n.º 2
0
 public static void UnregisterEngine(ISceneSearchEngine engine)
 {
     SceneSearch.UnregisterEngine(engine);
 }
Exemplo n.º 3
0
 public bool Filter(string query, HierarchyProperty objectToFilter)
 {
     using (new SearchSessionOptionsApplicator(m_Api, m_Options))
         return(SceneSearch.Filter(query, objectToFilter, (SceneSearchContext)context));
 }