Home > three-story-controls > PointerAdaptorProps
Properties that can be passed to the PointerAdaptor constructor
Signature:
export interface PointerAdaptorProps
Property | Type | Description |
---|---|---|
dampingFactor? | number | (Optional) Damping value between 0 and 1. Defaults to 0.5 |
domElement? | HTMLElement | (Optional) DOM element that should listen for pointer events. Defaults to document.body |
multipointerThreshold? | number | (Optional) Debounce for registering a change in the pointer count, in ms. Defaults to 100. |
normalizeAroundZero? | boolean | (Optional) If values are normalized, whether they should be in -1 to 1 range. Defaults to true. |
shouldNormalize? | boolean | (Optional) Whether to normalize the pointer position values. Defaults to true |