sofia.graphics.PropertyTransformer |
Write a one-sentence summary of your class here. Follow it with additional details about its purpose, what abstraction it represents, and how to use it.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void |
onStart()
Called when the animation is first started so that the transformer can
initialize any data that needs to be computed when the animation is
started rather than when it is
created.
| ||||||||||
abstract void |
transform(float t)
Applies the receiver's transformation at time t, where t is between
0 and 1.
|
Called when the animation is first started so that the transformer can initialize any data that needs to be computed when the animation is started rather than when it is created.
Applies the receiver's transformation at time t, where t is between 0 and 1.
t | the time of the transformation, normalized between 0 and 1 |
---|