com.threerings.opengl.effect
Class Easing.QuadraticInAndOut
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.effect.Easing
com.threerings.opengl.effect.Easing.QuadraticInAndOut
- All Implemented Interfaces:
- Exportable, com.threerings.io.Streamable, Copyable, Cloneable
- Enclosing class:
- Easing
public static class Easing.QuadraticInAndOut
- extends Easing
Performs a simple ease-in and a simple ease-out.
| Nested classes/interfaces inherited from interface com.threerings.io.Streamable |
com.threerings.io.Streamable.Closure |
|
Method Summary |
Easing |
copy(Easing result)
Copies this easing function. |
float |
getTime(float t)
Computes the eased time based on the provided linear parameter. |
Easing.QuadraticInAndOut
public Easing.QuadraticInAndOut()
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.