Interface IWebXRHitResult
interface IWebXRHitResult {
inputSource?: any;
isTransient?: boolean;
position: Vector3;
rotationQuaternion: Quaternion;
transformationMatrix: Matrix;
xrHitResult: XRHitTestResult;
}
inputSource?: any;
isTransient?: boolean;
position: Vector3;
rotationQuaternion: Quaternion;
transformationMatrix: Matrix;
xrHitResult: XRHitTestResult;
}
Hierarchy (View Summary)
- IWebXRLegacyHitResult
- IWebXRHitResult
Index
Properties
Optionalinput Source
inputSource?: any
The input source that generated this hit test (if transient)
Optionalis Transient
isTransient?: boolean
Is this a transient hit test
position
Position of the hit test result
rotation Quaternion
Rotation of the hit test result
transformation Matrix
Transformation matrix that can be applied to a node that will put it in the hit point location
xr Hit Result
xrHitResult: XRHitTestResult
The native hit test result
Interface defining the babylon result of hit-test