CurveTimeline1

The base class for a {@link CurveTimeline} that sets one property.

Static Members

spine
ENTRIES: Int

spine
VALUE: Int

spine
LINEAR: Int

spine
STEPPED: Int

spine
BEZIER: Int

spine
BEZIER_SIZE: Int

Instance Members

spine
getFrameEntries(): Int
Returns
Int

spine
setFrame(frame: Int, time: Float, value: Float): Void

Sets the time and value for the specified frame.

Name Type Description
frame Int Between 0 and frameCount, inclusive.
time Float The frame time in seconds.
value Float

spine
getCurveValue(time: Float): Float

Returns the interpolated value for the specified time.

Name Type
time Float
Returns
Float

spine
new(frameCount: Int, bezierCount: Int, propertyId: String): Void
Name Type Description
frameCount Int
bezierCount Int The maximum number of Bezier curves. See {
propertyId String Unique identifier for the property the timeline modifies.