API

Class WebXRNearInteraction

A module that will enable near interaction near interaction for hands and motion controllers of XR Input Sources

Hierarchy (View Summary)

Index
alwaysHideSelectionMesh: boolean = false

If set to true, the selection mesh will always be hidden. Otherwise it will be shown only when needed

dependsOn?: string[]

The dependencies of this feature, if any

disableAutoAttach: boolean = false

Should auto-attach be disabled?

isDisposed: boolean = false

Is this feature disposed?

onFeatureAttachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is attached

onFeatureDetachObservable: Observable<IWebXRFeature> = ...

Observers registered here will be executed when the feature is detached

selectionMeshDefaultColor: Color3 = ...

default color of the selection ring

selectionMeshPickedColor: Color3 = ...

This color will be applied to the selection ring when selection is triggered

Name: "xr-near-interaction" = WebXRFeatureName.NEAR_INTERACTION

The module's name

Version: 1

The (Babylon) version of this module. This is an integer representing the implementation version. This number does not correspond to the WebXR specs version