Function controllerModels
-
Parameters
- options: XrControllerModelOptions = {}
Optional custom XrControllerMeshFactory and/or
profilesto load real WebXR Input Profiles models.
Returns XrFeatureSpec
- options: XrControllerModelOptions = {}
Optional custom XrControllerMeshFactory and/or profiles
to load real WebXR Input Profiles models.
Controller model visuals as an opt-in XrFeatureSpec (Babylon.js
CONTROLLER_MODEL_LOADING). Pass it toenterXr({ features: [controllerModels(...)] })and the session renders a mesh at each controller's grip pose, tracking connect/disconnect and disposing on exit — no manualonFrame/onEndwiring.Requires input tracking (do not pass
input: falseto enterXr); it needs no native WebXR session feature.