PointerInfoWithTimings
Hierarchy
- PointerInfo
- PointerInfoWithTimings
Index
Properties
Properties
twinfinity
Twinfinity extensions for pointer info
Type declaration
pick: (isGeometryIntersectionEnabled: boolean) => PickResult
Perform pick operation in 3D worldspace where pointer is located.
Parameters
isGeometryIntersectionEnabled: boolean
true
uses geometry intersection testing which gives accurate results (exactly where something intersected). This is more expensive thanfalse
which gives the object that was intersected but not exactly where, on the object, intersection occured.
Returns PickResult
Picked object (if any)
button: function
Get timing information for a specific button.
Parameters
buttonId: number
Returns PointerButtonInfo
Extends BabylonJS
PointerInfo
with additional twinfinity data.