Class XRSessionSubsystem.Provider
The API this subsystem uses to interop with different provider implementations.
Inherited Members
Namespace: UnityEngine .XR.ARSubsystems
Assembly: solution.dll
Syntax
public class XRSessionSubsystem.Provider : SubsystemProvider<XRSessionSubsystem>
Properties
Name | Description |
---|---|
current |
Get the current tracking mode (for example, the Any |
frame |
The native update rate of the AR Session. Must be implemented if
supports |
match |
Whether the AR session update is synchronized with the Unity frame rate.
If |
match |
Whether the AR session update should be synchronized with the Unity frame rate.
If |
native |
Get a pointer to an object associated with the session. Callers should be able to manipulate the session in their own code using this. |
not |
Get the Not |
requested |
Should return the features requested by the enabling of other |
requested |
Get or set the requested tracking mode (for example, the Any |
session |
Get a unique identifier for this session. |
tracking |
Get the Tracking |
Methods
Name | Description |
---|---|
Destroy() | Stop the session and destroy all associated resources. |
Get |
Get the session's availability, such as whether the platform supports XR. |
Get |
This getter should allocate a new |
Install |
Attempt to update or install necessary XR software. Will only be called if
supports |
On |
Invoked when the application is paused. |
On |
Invoked when the application is resumed. |
Reset() | Reset the session. The behavior should be equivalent to destroying and recreating the session. |
Start() | Invoked to start or resume a session. This is different from On |
Stop() | Invoked to pause a running session. This is different from On |
Update(XRSession |
Perform any per-frame update logic here. |
Update(XRSession |
Perform any per-frame update logic here. The session should use the configuration indicated by
|