getPointerInfo
Public function
Signature
function getPointerInfo(e: PointerEvent | React.PointerEvent): {
point: {
x: number
y: number
z: number
}
shiftKey: boolean
altKey: boolean
ctrlKey: boolean
pointerId: number
button: number
isPen: boolean
}
Parameters
Name | Description |
---|---|
|
|
Returns
{
point: {
x: number
y: number
z: number
}
shiftKey: boolean
altKey: boolean
ctrlKey: boolean
pointerId: number
button: number
isPen: boolean
}
Source