类 MotionValue
java.lang.Object
polaris.sdk.ui.MotionValue
Frame-rate-independent damped spring. Values are render state, never layout/hit-test state.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static floatclamp(float x) floatfollow(float target, double time, float response, boolean reduced) Critically predictable exponential tracking: no stale spring recoil on release.voidsnap(float target, double time) floatto(float target, double time, float frequency, float damping, boolean reduced) floatvalue()floatvelocity()
-
构造器详细资料
-
MotionValue
public MotionValue() -
MotionValue
-
-
方法详细资料
-
snap
-
value
-
velocity
-
to
-
follow
Critically predictable exponential tracking: no stale spring recoil on release. -
clamp
-