Version: 2023.2
言語: 日本語
public static float niceMouseDeltaZoom ;

説明

ズームに使ったマウスのデルタ(位置の変化量)を取得します(読出専用)。

This will autodetect the users preference for X / Y axis dragging and give you back a float that is measured accordingly. This also handles modifier keys correctly, i.e. the delta is already multiplied by acceleration.

Additional resources: acceleration, niceMouseDelta.