Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.47 KB

three-story-controls.pointeradaptorprops.md

File metadata and controls

24 lines (16 loc) · 1.47 KB

Home > three-story-controls > PointerAdaptorProps

PointerAdaptorProps interface

Properties that can be passed to the PointerAdaptor constructor

Signature:

export interface PointerAdaptorProps 

Properties

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