OrientationProvider
interface OrientationProvider
An OrientationProvider provides the ViewingDirection of one orientation input like an gyroscope.
Functions
| Name | Summary |
|---|---|
| disable | abstract fun disable() Disables the OrientationProvider |
| enable | abstract fun enable() Enables the OrientationProvider |
| getViewingDirection | abstract fun getViewingDirection(): ViewingDirection Returns the current ViewingDirection of the OrientationProvider. |
| isEnabled | abstract fun isEnabled(): Boolean Returns true if the OrientationProvider is enabled, else false. |