类 SineTiming


  • public class SineTiming
    extends java.lang.Object
    This Timing varies between 0 and 1, as a sine wave over time.
    • 构造器概要

      构造器 
      构造器 说明
      SineTiming​(long period, long phase)
      Creates a new SineTiming.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      double getTiming​(long time)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • SineTiming

        public SineTiming​(long period,
                          long phase)
        Creates a new SineTiming.
        参数:
        period - the time period for a full cycle.
        phase - the phase of the cycle, which is added to the actual time.
    • 方法详细资料

      • getTiming

        public double getTiming​(long time)