C# 클래스 CloudRecoEventHandler2, NewCloud

This MonoBehaviour implements the Cloud Reco Event handling for this sample. It registers itself at the CloudRecoBehaviour and is notified of new search results as well as error messages The current state is visualized and new results are enabled using the TargetFinder API.
상속: MonoBehaviour, ICloudRecoEventHandler
파일 보기 프로젝트 열기: nileshlg2003/NewCloud

공개 프로퍼티들

프로퍼티 타입 설명
AssetName string
BundleURL string
ImageTargetTemplate ImageTargetBehaviour,
JsonServerUrl string
titleb string
version int

공개 메소드들

메소드 설명
OnGUI ( ) : void

draw the sample GUI and error messages

OnInitError ( TargetFinder, initError ) : void

visualize initialization errors

OnInitialized ( ) : void

called when TargetFinder has been initialized successfully

OnNewSearchResult ( TargetFinder, targetSearchResult ) : void

Handles new search results

OnStateChanged ( bool scanning ) : void

when we start scanning, unregister Trackable from the ImageTargetTemplate, then delete all trackables

OnUpdateError ( TargetFinder, updateError ) : void

visualize update errors

Start ( ) : void

register for events at the CloudRecoBehaviour

비공개 메소드들

메소드 설명
DownloadAndCache ( ) : IEnumerator
LoadJSONBookData ( string jsonBookUrl ) : void
RestartApplication ( ) : void

메소드 상세

OnGUI() 공개 메소드

draw the sample GUI and error messages
public OnGUI ( ) : void
리턴 void

OnInitError() 공개 메소드

visualize initialization errors
public OnInitError ( TargetFinder, initError ) : void
initError TargetFinder,
리턴 void

OnInitialized() 공개 메소드

called when TargetFinder has been initialized successfully
public OnInitialized ( ) : void
리턴 void

OnNewSearchResult() 공개 메소드

Handles new search results
public OnNewSearchResult ( TargetFinder, targetSearchResult ) : void
targetSearchResult TargetFinder,
리턴 void

OnStateChanged() 공개 메소드

when we start scanning, unregister Trackable from the ImageTargetTemplate, then delete all trackables
public OnStateChanged ( bool scanning ) : void
scanning bool
리턴 void

OnUpdateError() 공개 메소드

visualize update errors
public OnUpdateError ( TargetFinder, updateError ) : void
updateError TargetFinder,
리턴 void

Start() 공개 메소드

register for events at the CloudRecoBehaviour
public Start ( ) : void
리턴 void

프로퍼티 상세

AssetName 공개적으로 프로퍼티

public string AssetName
리턴 string

BundleURL 공개적으로 프로퍼티

public string BundleURL
리턴 string

ImageTargetTemplate 공개적으로 프로퍼티

can be set in the Unity inspector to reference a ImageTargetBehaviour that is used for augmentations of new cloud reco results.
public ImageTargetBehaviour, ImageTargetTemplate
리턴 ImageTargetBehaviour,

JsonServerUrl 공개적으로 프로퍼티

public string JsonServerUrl
리턴 string

titleb 공개적으로 프로퍼티

public string titleb
리턴 string

version 공개적으로 프로퍼티

public int version
리턴 int