|
@@ -44177,6 +44177,7 @@ declare module "babylonjs/Cameras/XR/webXRFeaturesManager" {
|
|
|
constructor(_xrSessionManager: WebXRSessionManager);
|
|
|
/**
|
|
|
* Enable a feature using its name and a version. This will enable it in the scene, and will be responsible to attach it when the session starts.
|
|
|
+ * If used twice, the old version will be disposed and a new one will be constructed. This way you can re-enable with different configuration.
|
|
|
*
|
|
|
* @param featureName the name of the feature to load or the class of the feature
|
|
|
* @param version optional version to load. if not provided the latest version will be enabled
|
|
@@ -44189,6 +44190,7 @@ declare module "babylonjs/Cameras/XR/webXRFeaturesManager" {
|
|
|
}, version?: number | string, moduleOptions?: any, attachIfPossible?: boolean): IWebXRFeature;
|
|
|
/**
|
|
|
* Used to disable an already-enabled feature
|
|
|
+ * The feature will be disposed and will be recreated once enabled.
|
|
|
* @param featureName the feature to disable
|
|
|
* @returns true if disable was successful
|
|
|
*/
|
|
@@ -45496,6 +45498,8 @@ declare module "babylonjs/Cameras/XR/features/WebXRControllerPointerSelection" {
|
|
|
lasterPointerDefaultColor: Color3;
|
|
|
private static _idCounter;
|
|
|
private _observerTracked;
|
|
|
+ private _observerControllerAdded;
|
|
|
+ private _observerControllerRemoved;
|
|
|
private _attached;
|
|
|
private _tmpRay;
|
|
|
private _controllers;
|
|
@@ -45830,6 +45834,8 @@ declare module "babylonjs/Cameras/XR/features/WebXRControllerTeleportation" {
|
|
|
*/
|
|
|
backwardsTeleportationDistance: number;
|
|
|
private _observerTracked;
|
|
|
+ private _observerControllerAdded;
|
|
|
+ private _observerControllerRemoved;
|
|
|
private _attached;
|
|
|
/**
|
|
|
* Is this feature attached
|
|
@@ -115158,6 +115164,7 @@ declare module BABYLON {
|
|
|
constructor(_xrSessionManager: WebXRSessionManager);
|
|
|
/**
|
|
|
* Enable a feature using its name and a version. This will enable it in the scene, and will be responsible to attach it when the session starts.
|
|
|
+ * If used twice, the old version will be disposed and a new one will be constructed. This way you can re-enable with different configuration.
|
|
|
*
|
|
|
* @param featureName the name of the feature to load or the class of the feature
|
|
|
* @param version optional version to load. if not provided the latest version will be enabled
|
|
@@ -115170,6 +115177,7 @@ declare module BABYLON {
|
|
|
}, version?: number | string, moduleOptions?: any, attachIfPossible?: boolean): IWebXRFeature;
|
|
|
/**
|
|
|
* Used to disable an already-enabled feature
|
|
|
+ * The feature will be disposed and will be recreated once enabled.
|
|
|
* @param featureName the feature to disable
|
|
|
* @returns true if disable was successful
|
|
|
*/
|
|
@@ -116431,6 +116439,8 @@ declare module BABYLON {
|
|
|
lasterPointerDefaultColor: Color3;
|
|
|
private static _idCounter;
|
|
|
private _observerTracked;
|
|
|
+ private _observerControllerAdded;
|
|
|
+ private _observerControllerRemoved;
|
|
|
private _attached;
|
|
|
private _tmpRay;
|
|
|
private _controllers;
|
|
@@ -116750,6 +116760,8 @@ declare module BABYLON {
|
|
|
*/
|
|
|
backwardsTeleportationDistance: number;
|
|
|
private _observerTracked;
|
|
|
+ private _observerControllerAdded;
|
|
|
+ private _observerControllerRemoved;
|
|
|
private _attached;
|
|
|
/**
|
|
|
* Is this feature attached
|