API reference

PositionPinningConfig Class

Position pinning is applied to surface motion during drag.
Useful for adding a sense of friction to initial drag motion.

Fields

bool Enabled[Get]
float MaxPinDistance[Get]
The distance over which a poke interactor drag motion will be remapped to the surface (in meters).
AnimationCurve PinningEaseCurve[Get]
The poke interactor position will be remapped along this curve from the initial touch point to the current position on surface.
ProgressCurve ResyncCurve[Get]
In cases where a resync is necessary between the pinned position and the unpinned position, this time-based curve will be used.