C# Class ARTrackingStatusController, code

Inheritance: MonoBehaviour
Mostrar archivo Open project: shendongnian/code

Public Methods

Method 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

Method Description
Start ( ) : void
Update ( ) : void

Method Details

ARFrameUpdated() public method

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

ARSessionFailedEvent() public method

Logs The ARSession Failed Event
public ARSessionFailedEvent ( string error ) : void
error string Error.
return void

logLighting() public method

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

logTrackingState() public method

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

logTrackingStateReason() public method

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