Stay organized with collections
Save and categorize content based on your preferences.
Google.XR.Cardboard.XRLoader
XR Loader for CardboardXR Plugin.
Summary
Loads Display and Input Subsystems.
Inheritance
Inherits from: XRLoaderHelper
Public functions
|
Deinitialize()
|
override bool
Ask loader to deinitialize all initialized subsystems.
|
Initialize()
|
override bool
Initialize the loader.
|
Start()
|
override bool
Ask loader to start all initialized subsystems.
|
Stop()
|
override bool
Ask loader to stop all initialized subsystems.
|
Public functions
Deinitialize
override bool Deinitialize()
Ask loader to deinitialize all initialized subsystems.
Details |
Returns
|
Whether or not deinitialization succeeded.
|
Initialize
override bool Initialize()
Initialize the loader.
This should initialize all subsystems to support the desired runtime setup this loader represents.
Details |
Returns
|
Whether or not initialization succeeded.
|
Start
override bool Start()
Ask loader to start all initialized subsystems.
Details |
Returns
|
Whether or not all subsystems were successfully started.
|
Stop
override bool Stop()
Ask loader to stop all initialized subsystems.
Details |
Returns
|
Whether or not all subsystems were successfully stopped.
|
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-08-06 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-08-06 UTC."],[[["\u003cp\u003eGoogle.XR.Cardboard.XRLoader is an XR Loader for the Cardboard XR Plugin.\u003c/p\u003e\n"],["\u003cp\u003eIt loads Display and Input Subsystems for Cardboard XR experiences.\u003c/p\u003e\n"],["\u003cp\u003eThis XRLoader handles initialization, starting, stopping, and deinitialization of these subsystems.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage its public functions to manage the lifecycle of XR functionalities.\u003c/p\u003e\n"]]],[],null,["# Google.XR.Cardboard.XRLoader Class Reference\n\nGoogle.XR.Cardboard.XRLoader\n============================\n\n[XR](/cardboard/reference/unity/namespace/Google/XR#namespaceGoogle_1_1XR) Loader for [Cardboard](/cardboard/reference/unity/namespace/Google/XR/Cardboard#namespaceGoogle_1_1XR_1_1Cardboard)[XR](/cardboard/reference/unity/namespace/Google/XR#namespaceGoogle_1_1XR) Plugin.\n\nSummary\n-------\n\nLoads Display and Input Subsystems.\n\n### Inheritance\n\nInherits from: XRLoaderHelper\n\n| ### Public functions ||\n|----------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|\n| [Deinitialize](#classGoogle_1_1XR_1_1Cardboard_1_1XRLoader_1a6fb34118ff76e554ba91a77f12c29d17)`()` | `override bool` Ask loader to deinitialize all initialized subsystems. |\n| [Initialize](#classGoogle_1_1XR_1_1Cardboard_1_1XRLoader_1ad2673551f5376bbf285ba814ce94ae0d)`()` | `override bool` Initialize the loader. |\n| [Start](#classGoogle_1_1XR_1_1Cardboard_1_1XRLoader_1a7ba751f21a36a692150b160049cd3621)`()` | `override bool` Ask loader to start all initialized subsystems. |\n| [Stop](#classGoogle_1_1XR_1_1Cardboard_1_1XRLoader_1ad0be6e7487862386f36a5ccabc4a1c58)`()` | `override bool` Ask loader to stop all initialized subsystems. |\n\nPublic functions\n----------------\n\n### Deinitialize\n\n```c#\noverride bool Deinitialize()\n``` \nAsk loader to deinitialize all initialized subsystems.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|--------------------------------------------|\n| **Returns** | Whether or not deinitialization succeeded. |\n\n### Initialize\n\n```c#\noverride bool Initialize()\n``` \nInitialize the loader.\n\nThis should initialize all subsystems to support the desired runtime setup this loader represents.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|------------------------------------------|\n| **Returns** | Whether or not initialization succeeded. |\n\n### Start\n\n```c#\noverride bool Start()\n``` \nAsk loader to start all initialized subsystems.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------|\n| **Returns** | Whether or not all subsystems were successfully started. |\n\n### Stop\n\n```c#\noverride bool Stop()\n``` \nAsk loader to stop all initialized subsystems.\n\n\u003cbr /\u003e\n\n| Details ||\n|-------------|----------------------------------------------------------|\n| **Returns** | Whether or not all subsystems were successfully stopped. |"]]