|
@@ -54028,6 +54028,24 @@ declare module "babylonjs/XR/features/WebXRControllerPointerSelection" {
|
|
|
* The first rig camera (left eye) will be used to calculate the projection
|
|
|
*/
|
|
|
disableScenePointerVectorUpdate: boolean;
|
|
|
+ /**
|
|
|
+ * Enable pointer selection on all controllers instead of switching between them
|
|
|
+ */
|
|
|
+ enablePointerSelectionOnAllControllers?: boolean;
|
|
|
+ /**
|
|
|
+ * The preferred hand to give the pointer selection to. This will be prioritized when the controller initialize.
|
|
|
+ * If switch is enabled, it will still allow the user to switch between the different controllers
|
|
|
+ */
|
|
|
+ preferredHandedness?: XRHandedness;
|
|
|
+ /**
|
|
|
+ * Disable switching the pointer selection from one controller to the other.
|
|
|
+ * If the preferred hand is set it will be fixed on this hand, and if not it will be fixed on the first controller added to the scene
|
|
|
+ */
|
|
|
+ disableSwitchOnClick?: boolean;
|
|
|
+ /**
|
|
|
+ * The maximum distance of the pointer selection feature. Defaults to 100.
|
|
|
+ */
|
|
|
+ maxPointerDistance?: number;
|
|
|
}
|
|
|
/**
|
|
|
* A module that will enable pointer selection for motion controllers of XR Input Sources
|
|
@@ -54039,6 +54057,7 @@ declare module "babylonjs/XR/features/WebXRControllerPointerSelection" {
|
|
|
private _controllers;
|
|
|
private _scene;
|
|
|
private _tmpVectorForPickCompare;
|
|
|
+ private _attachedController;
|
|
|
/**
|
|
|
* The module's name
|
|
|
*/
|
|
@@ -66782,6 +66801,10 @@ declare module "babylonjs/Materials/Node/Blocks/Dual/lightBlock" {
|
|
|
*/
|
|
|
get specularColor(): NodeMaterialConnectionPoint;
|
|
|
/**
|
|
|
+ * Gets the view matrix component
|
|
|
+ */
|
|
|
+ get view(): NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
* Gets the diffuse output component
|
|
|
*/
|
|
|
get diffuseOutput(): NodeMaterialConnectionPoint;
|
|
@@ -69017,6 +69040,10 @@ declare module "babylonjs/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock" {
|
|
|
*/
|
|
|
get anisotropy(): NodeMaterialConnectionPoint;
|
|
|
/**
|
|
|
+ * Gets the view matrix parameter
|
|
|
+ */
|
|
|
+ get view(): NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
* Gets the ambient output component
|
|
|
*/
|
|
|
get ambient(): NodeMaterialConnectionPoint;
|
|
@@ -132776,6 +132803,24 @@ declare module BABYLON {
|
|
|
* The first rig camera (left eye) will be used to calculate the projection
|
|
|
*/
|
|
|
disableScenePointerVectorUpdate: boolean;
|
|
|
+ /**
|
|
|
+ * Enable pointer selection on all controllers instead of switching between them
|
|
|
+ */
|
|
|
+ enablePointerSelectionOnAllControllers?: boolean;
|
|
|
+ /**
|
|
|
+ * The preferred hand to give the pointer selection to. This will be prioritized when the controller initialize.
|
|
|
+ * If switch is enabled, it will still allow the user to switch between the different controllers
|
|
|
+ */
|
|
|
+ preferredHandedness?: XRHandedness;
|
|
|
+ /**
|
|
|
+ * Disable switching the pointer selection from one controller to the other.
|
|
|
+ * If the preferred hand is set it will be fixed on this hand, and if not it will be fixed on the first controller added to the scene
|
|
|
+ */
|
|
|
+ disableSwitchOnClick?: boolean;
|
|
|
+ /**
|
|
|
+ * The maximum distance of the pointer selection feature. Defaults to 100.
|
|
|
+ */
|
|
|
+ maxPointerDistance?: number;
|
|
|
}
|
|
|
/**
|
|
|
* A module that will enable pointer selection for motion controllers of XR Input Sources
|
|
@@ -132787,6 +132832,7 @@ declare module BABYLON {
|
|
|
private _controllers;
|
|
|
private _scene;
|
|
|
private _tmpVectorForPickCompare;
|
|
|
+ private _attachedController;
|
|
|
/**
|
|
|
* The module's name
|
|
|
*/
|
|
@@ -144435,6 +144481,10 @@ declare module BABYLON {
|
|
|
*/
|
|
|
get specularColor(): NodeMaterialConnectionPoint;
|
|
|
/**
|
|
|
+ * Gets the view matrix component
|
|
|
+ */
|
|
|
+ get view(): NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
* Gets the diffuse output component
|
|
|
*/
|
|
|
get diffuseOutput(): NodeMaterialConnectionPoint;
|
|
@@ -146465,6 +146515,10 @@ declare module BABYLON {
|
|
|
*/
|
|
|
get anisotropy(): NodeMaterialConnectionPoint;
|
|
|
/**
|
|
|
+ * Gets the view matrix parameter
|
|
|
+ */
|
|
|
+ get view(): NodeMaterialConnectionPoint;
|
|
|
+ /**
|
|
|
* Gets the ambient output component
|
|
|
*/
|
|
|
get ambient(): NodeMaterialConnectionPoint;
|