hasPosition
read-only property of the VRPositionState
interface returns a boolean indicating whether the VRPositionState.position
property is valid (i.e. if the hardware is currently registering a valid position). If it is false
, the position
property will return null
.