import type * as BABYLON from "@babylonjs/core"; /** * Parameters for WebXR: entering virtual or augmented reality, the reference space to use, and the * options for controllers, teleportation and hit testing. */ export declare namespace BabylonWebXR { /** * Feeds `babylon.webXr.base.createDefaultXRExperienceAsync` with the engine's options for a * WebXR session: which features to start, the floor meshes for teleporting, and per-feature * settings. */ class WebXRDefaultExperienceOptions { constructor(disableDefaultUI?: boolean); /** * Enable or disable default UI to enter XR * @optional true */ disableDefaultUI?: boolean | undefined; /** * Should pointer selection not initialize. * Note that disabling pointer selection also disables teleportation. * Defaults to false. * @optional true */ disablePointerSelection?: boolean | undefined; /** * Should teleportation not initialize. Defaults to false. * @optional true */ disableTeleportation?: boolean | undefined; /** * Should nearInteraction not initialize. Defaults to false. * @optional true */ disableNearInteraction?: boolean | undefined; /** * Should hand tracking be disabled. Defaults to false. * @optional true */ disableHandTracking?: boolean | undefined; /** * Floor meshes that will be used for teleport * @optional true */ floorMeshes?: BABYLON.AbstractMesh[] | undefined; /** * When true, the first frame does not reset the position from the previous camera; mainly * for AR * @optional true */ ignoreNativeCameraTransformation?: boolean | undefined; /** * Optional configuration for the XR input object * @optional true */ inputOptions?: Partial | undefined; /** * optional configuration for pointer selection * @optional true */ pointerSelectionOptions?: Partial | undefined; /** * optional configuration for near interaction * @optional true */ nearInteractionOptions?: Partial | undefined; /** * optional configuration for hand tracking * @optional true */ handSupportOptions?: Partial | undefined; /** * optional configuration for teleportation * @optional true */ teleportationOptions?: Partial | undefined; /** * optional configuration for the output canvas * @optional true */ outputCanvasOptions?: BABYLON.WebXRManagedOutputCanvasOptions | undefined; /** * optional UI options. This can be used among other to change session mode and reference space type * @optional true */ uiOptions?: Partial | undefined; /** * When loading teleportation and pointer select, use stable versions instead of latest. * @optional true */ useStablePlugins?: boolean | undefined; /** * An optional rendering group id that will be set globally for teleportation, pointer selection and default controller meshes * @optional true */ renderingGroupId?: number | undefined; /** * A list of optional features to init the session with * If set to true, all features we support will be added * @optional true */ optionalFeatures?: boolean | string[] | undefined; } /** * Feeds the `babylon.webXr.simple` teleportation experiences with the meshes the user can * teleport onto. */ class DefaultWebXRWithTeleportationDto { constructor(groundMeshes?: BABYLON.Mesh[]); /** * The meshes the user may teleport onto, normally the floor */ groundMeshes: BABYLON.Mesh[]; } /** * Feeds `babylon.webXr.base.getBaseExperience` with the default XR experience to read from. */ class WebXRDefaultExperienceDto { constructor(webXRDefaultExperience?: BABYLON.WebXRDefaultExperience); /** * The default XR experience a create method gave back */ webXRDefaultExperience: BABYLON.WebXRDefaultExperience; } /** * Feeds `babylon.webXr.base.getFeatureManager` with the base experience to read the feature * manager from. */ class WebXRExperienceHelperDto { constructor(baseExperience?: BABYLON.WebXRExperienceHelper); /** * The base experience helper, as `getBaseExperience` reads it from the default experience */ baseExperience: BABYLON.WebXRExperienceHelper; } }