FirstModulAR 0.1.0
Loading...
Searching...
No Matches
FMAR.Core.XrProvider Class Referenceabstract

Generic class representing an "XR Provider" which is a FMAR concept based on the Unity XR Management system. XRProviders are activated based on the current platform and are a crucial piece to the cross-platform support of FMAR. More...

Inheritance diagram for FMAR.Core.XrProvider:
FMAR.XRProviders.MagicLeap.MagicLeapXrProvider FMAR.XRProviders.Mock.MockXrProvider FMAR.XRProviders.Oculus.OculusXrProvider FMAR.XRProviders.UnityXR.UnityXrXrProvider

Public Member Functions

bool ShouldActivate ()
 If true, this XrProvider will be enabled when the application loads, if false it will be ignored.
 

Protected Attributes

bool active = true
 Additional flag to allow manual deactivation of a provider in the inspector by unchecking this checkbox.
 

Detailed Description

Generic class representing an "XR Provider" which is a FMAR concept based on the Unity XR Management system. XRProviders are activated based on the current platform and are a crucial piece to the cross-platform support of FMAR.

Member Function Documentation

◆ ShouldActivate()

bool FMAR.Core.XrProvider.ShouldActivate ( )
abstract

If true, this XrProvider will be enabled when the application loads, if false it will be ignored.

Returns

Member Data Documentation

◆ active

bool FMAR.Core.XrProvider.active = true
protected

Additional flag to allow manual deactivation of a provider in the inspector by unchecking this checkbox.


The documentation for this class was generated from the following file: