Version: 2017.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.

See Also: acceleration, niceMouseDelta.