コード例 #1
0
 public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler)
 {
     this.mTextRecoEventHandlers.Add(trackableEventHandler);
     if (this.mHasInitialized)
     {
         trackableEventHandler.OnInitialized();
     }
 }
コード例 #2
0
 /// <summary>
 /// This method registers a new TextReco event handler.
 /// These handlers are called after all trackables have been updated for this frame.
 /// </summary>
 public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler)
 {
     mTextRecoEventHandlers.Add(trackableEventHandler);
     // call initialized callback immediately if already initialized
     if (mHasInitializedOnce)
     {
         trackableEventHandler.OnInitialized();
     }
 }
コード例 #3
0
 /// <summary>
 /// This method registers a new TextReco event handler.
 /// These handlers are called after all trackables have been updated for this frame.
 /// </summary>
 public void RegisterTextRecoEventHandler(ITextRecoEventHandler trackableEventHandler)
 {
     mTextRecoEventHandlers.Add(trackableEventHandler);
     // call initialized callback immediately if already initialized
     if (mHasInitializedOnce)
         trackableEventHandler.OnInitialized();
 }