com.threerings.opengl.effect
Class Easing.QuadraticIn

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.Easing
          extended by com.threerings.opengl.effect.Easing.QuadraticIn
All Implemented Interfaces:
Exportable, com.threerings.io.Streamable, Copyable, Cloneable
Enclosing class:
Easing

public static class Easing.QuadraticIn
extends Easing

Performs a simple quadratic ease-in.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.Easing
Easing.None, Easing.QuadraticIn, Easing.QuadraticInAndOut, Easing.QuadraticOut
 
Nested classes/interfaces inherited from interface com.threerings.io.Streamable
com.threerings.io.Streamable.Closure
 
Constructor Summary
Easing.QuadraticIn()
           
 
Method Summary
 Easing copy(Easing result)
          Copies this easing function.
 float getTime(float t)
          Computes the eased time based on the provided linear parameter.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Easing.QuadraticIn

public Easing.QuadraticIn()
Method Detail

getTime

public float getTime(float t)
Description copied from class: Easing
Computes the eased time based on the provided linear parameter.

Specified by:
getTime in class Easing

copy

public Easing copy(Easing result)
Description copied from class: Easing
Copies this easing function.

Specified by:
copy in class Easing
Parameters:
result - an object to repopulate, if possible.
Returns:
either the result object, if it could be repopulated, or a new object containing the result.


Copyright © 2011. All Rights Reserved.