예제 #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;
            }
        }
예제 #2
0
 public static void UnregisterEngine(ISceneSearchEngine engine)
 {
     SceneSearch.UnregisterEngine(engine);
 }
예제 #3
0
 public bool Filter(string query, HierarchyProperty objectToFilter)
 {
     using (new SearchSessionOptionsApplicator(m_Api, m_Options))
         return(SceneSearch.Filter(query, objectToFilter, (SceneSearchContext)context));
 }