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
trueuses geometry intersection testing which gives accurate results (exactly where something intersected). This is more expensive thanfalsewhich gives the object that was intersected but not exactly where, on the object, intersection occured.
Returns PickResult
button: function
Get timing information for a specific button.
Parameters
buttonId: number
Returns PointerButtonInfo
Extends BabylonJS
PointerInfowith additional twinfinity data.