C# Class ARTrackingStatusController, code

Inheritance: MonoBehaviour
Afficher le fichier Open project: shendongnian/code

Méthodes publiques

Méthode Description
ARFrameUpdated ( UnityARCamera camera ) : void

Called Each Time The ARCamera Is Updated

ARSessionFailedEvent ( string error ) : void

Logs The ARSession Failed Event

logLighting ( float lightEstimate ) : void

Determines If The Current Lighting Conditions Are Appropriate For The ARSession

logTrackingState ( ARTrackingState trackingState ) : void

Informs The User About The Current Tracking State

logTrackingStateReason ( ARTrackingStateReason reason ) : void

Informs The User About The Current Tracking Status

Private Methods

Méthode Description
Start ( ) : void
Update ( ) : void

Method Details

ARFrameUpdated() public méthode

Called Each Time The ARCamera Is Updated
public ARFrameUpdated ( UnityARCamera camera ) : void
camera UnityARCamera Camera.
Résultat void

ARSessionFailedEvent() public méthode

Logs The ARSession Failed Event
public ARSessionFailedEvent ( string error ) : void
error string Error.
Résultat void

logLighting() public méthode

Determines If The Current Lighting Conditions Are Appropriate For The ARSession
public logLighting ( float lightEstimate ) : void
lightEstimate float Light estimate.
Résultat void

logTrackingState() public méthode

Informs The User About The Current Tracking State
public logTrackingState ( ARTrackingState trackingState ) : void
trackingState ARTrackingState Tracking state.
Résultat void

logTrackingStateReason() public méthode

Informs The User About The Current Tracking Status
public logTrackingStateReason ( ARTrackingStateReason reason ) : void
reason ARTrackingStateReason Reason.
Résultat void