|
@@ -42991,6 +42991,18 @@ declare module "babylonjs/Cameras/VR/vrExperienceHelper" {
|
|
* A list of meshes to be used as the teleportation floor. (default: empty)
|
|
* A list of meshes to be used as the teleportation floor. (default: empty)
|
|
*/
|
|
*/
|
|
floorMeshes?: Mesh[];
|
|
floorMeshes?: Mesh[];
|
|
|
|
+ /**
|
|
|
|
+ * The teleportation mode. (default: TELEPORTATIONMODE_CONSTANTTIME)
|
|
|
|
+ */
|
|
|
|
+ teleportationMode?: number;
|
|
|
|
+ /**
|
|
|
|
+ * The duration of the animation in ms, apply when animationMode is TELEPORTATIONMODE_CONSTANTTIME. (default 122ms)
|
|
|
|
+ */
|
|
|
|
+ teleportationTime?: number;
|
|
|
|
+ /**
|
|
|
|
+ * The speed of the animation in distance/sec, apply when animationMode is TELEPORTATIONMODE_CONSTANTSPEED. (default 20 units / sec)
|
|
|
|
+ */
|
|
|
|
+ teleportationSpeed?: number;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Options to modify the vr experience helper's behavior.
|
|
* Options to modify the vr experience helper's behavior.
|
|
@@ -43095,6 +43107,9 @@ declare module "babylonjs/Cameras/VR/vrExperienceHelper" {
|
|
private _teleportActive;
|
|
private _teleportActive;
|
|
private _floorMeshName;
|
|
private _floorMeshName;
|
|
private _floorMeshesCollection;
|
|
private _floorMeshesCollection;
|
|
|
|
+ private _teleportationMode;
|
|
|
|
+ private _teleportationTime;
|
|
|
|
+ private _teleportationSpeed;
|
|
private _rotationAllowed;
|
|
private _rotationAllowed;
|
|
private _teleportBackwardsVector;
|
|
private _teleportBackwardsVector;
|
|
private _teleportationTarget;
|
|
private _teleportationTarget;
|
|
@@ -43307,6 +43322,14 @@ declare module "babylonjs/Cameras/VR/vrExperienceHelper" {
|
|
private _workingQuaternion;
|
|
private _workingQuaternion;
|
|
private _workingMatrix;
|
|
private _workingMatrix;
|
|
/**
|
|
/**
|
|
|
|
+ * Time Constant Teleportation Mode
|
|
|
|
+ */
|
|
|
|
+ static readonly TELEPORTATIONMODE_CONSTANTTIME: number;
|
|
|
|
+ /**
|
|
|
|
+ * Speed Constant Teleportation Mode
|
|
|
|
+ */
|
|
|
|
+ static readonly TELEPORTATIONMODE_CONSTANTSPEED: number;
|
|
|
|
+ /**
|
|
* Teleports the users feet to the desired location
|
|
* Teleports the users feet to the desired location
|
|
* @param location The location where the user's feet should be placed
|
|
* @param location The location where the user's feet should be placed
|
|
*/
|
|
*/
|
|
@@ -109924,6 +109947,18 @@ declare module BABYLON {
|
|
* A list of meshes to be used as the teleportation floor. (default: empty)
|
|
* A list of meshes to be used as the teleportation floor. (default: empty)
|
|
*/
|
|
*/
|
|
floorMeshes?: Mesh[];
|
|
floorMeshes?: Mesh[];
|
|
|
|
+ /**
|
|
|
|
+ * The teleportation mode. (default: TELEPORTATIONMODE_CONSTANTTIME)
|
|
|
|
+ */
|
|
|
|
+ teleportationMode?: number;
|
|
|
|
+ /**
|
|
|
|
+ * The duration of the animation in ms, apply when animationMode is TELEPORTATIONMODE_CONSTANTTIME. (default 122ms)
|
|
|
|
+ */
|
|
|
|
+ teleportationTime?: number;
|
|
|
|
+ /**
|
|
|
|
+ * The speed of the animation in distance/sec, apply when animationMode is TELEPORTATIONMODE_CONSTANTSPEED. (default 20 units / sec)
|
|
|
|
+ */
|
|
|
|
+ teleportationSpeed?: number;
|
|
}
|
|
}
|
|
/**
|
|
/**
|
|
* Options to modify the vr experience helper's behavior.
|
|
* Options to modify the vr experience helper's behavior.
|
|
@@ -110028,6 +110063,9 @@ declare module BABYLON {
|
|
private _teleportActive;
|
|
private _teleportActive;
|
|
private _floorMeshName;
|
|
private _floorMeshName;
|
|
private _floorMeshesCollection;
|
|
private _floorMeshesCollection;
|
|
|
|
+ private _teleportationMode;
|
|
|
|
+ private _teleportationTime;
|
|
|
|
+ private _teleportationSpeed;
|
|
private _rotationAllowed;
|
|
private _rotationAllowed;
|
|
private _teleportBackwardsVector;
|
|
private _teleportBackwardsVector;
|
|
private _teleportationTarget;
|
|
private _teleportationTarget;
|
|
@@ -110240,6 +110278,14 @@ declare module BABYLON {
|
|
private _workingQuaternion;
|
|
private _workingQuaternion;
|
|
private _workingMatrix;
|
|
private _workingMatrix;
|
|
/**
|
|
/**
|
|
|
|
+ * Time Constant Teleportation Mode
|
|
|
|
+ */
|
|
|
|
+ static readonly TELEPORTATIONMODE_CONSTANTTIME: number;
|
|
|
|
+ /**
|
|
|
|
+ * Speed Constant Teleportation Mode
|
|
|
|
+ */
|
|
|
|
+ static readonly TELEPORTATIONMODE_CONSTANTSPEED: number;
|
|
|
|
+ /**
|
|
* Teleports the users feet to the desired location
|
|
* Teleports the users feet to the desired location
|
|
* @param location The location where the user's feet should be placed
|
|
* @param location The location where the user's feet should be placed
|
|
*/
|
|
*/
|