{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Class VisionOSLoader | Apple visionOS XR Plugin | 0.1.2
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class VisionOSLoader

    Manages the lifecycle of VisionOS subsystems.

    Inheritance
    object
    XRLoader
    XRLoaderHelper
    VisionOSLoader
    Inherited Members
    XRLoaderHelper.m_SubsystemInstanceMap
    XRLoaderHelper.GetLoadedSubsystem<T>()
    XRLoaderHelper.StartSubsystem<T>()
    XRLoaderHelper.StopSubsystem<T>()
    XRLoaderHelper.DestroySubsystem<T>()
    XRLoaderHelper.CreateSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, string)
    XRLoaderHelper.CreateIntegratedSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, string)
    XRLoaderHelper.CreateStandaloneSubsystem<TDescriptor, TSubsystem>(List<TDescriptor>, string)
    XRLoaderHelper.WasAssignedToBuildTarget(BuildTargetGroup)
    XRLoaderHelper.WasUnassignedFromBuildTarget(BuildTargetGroup)
    XRLoader.GetSupportedGraphicsDeviceTypes(bool)
    Namespace: UnityEngine.XR.VisionOS
    Assembly: solution.dll
    Syntax
    public class VisionOSLoader : XRLoaderHelper

    Properties

    Name Description
    anchorSubsystem

    The XRAnchorSubsystem whose lifecycle is managed by this loader.

    imageTrackingSubsystem

    The XRImageTrackingSubsystem whose lifecycle is managed by this loader.

    inputSubsystem

    The XRInputSubsystem whose lifecycle is managed by this loader.

    meshSubsystem

    The XRMeshSubsystem whose lifecycle is managed by this loader.

    planeSubsystem

    The XRPlaneSubsystem whose lifecycle is managed by this loader.

    sessionSubsystem

    The XRSessionSubsystem whose lifecycle is managed by this loader.

    Methods

    Name Description
    Deinitialize()

    Destroys each subsystem.

    Initialize()

    Initializes the loader.

    Start()

    This method does nothing for managed subsystems. Subsystems must be started individually.

    Stop()

    This method does nothing for managed subsystems. Subsystems must be stopped individually.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)