Event

spine.Event (Class)

Stores the current pose values for an {@link Event}.

See Timeline {@link Timeline#apply(Skeleton, float, float, com.badlogic.gdx.utils.Array, float, com.esotericsoftware.spine.Animation.MixBlend, com.esotericsoftware.spine.Animation.MixDirection)}, AnimationStateListener {@link AnimationStateListener#event(com.esotericsoftware.spine.AnimationState.TrackEntry, Event)}, and Events in the Spine User Guide.

Instance Members

spine
intValue: Int

spine
floatValue: Float

spine
stringValue: String

spine
volume: Float

spine
balance: Float

spine
time: Float

spine
getInt(): Int
Returns
Int

spine
setInt(intValue: Int): Void
Name Type
intValue Int

spine
getFloat(): Float
Returns
Float

spine
setFloat(floatValue: Float): Void
Name Type
floatValue Float

spine
getString(): String
Returns
String

spine
setString(stringValue: String): Void
Name Type
stringValue String

spine
getVolume(): Float
Returns
Float

spine
setVolume(volume: Float): Void
Name Type
volume Float

spine
getBalance(): Float
Returns
Float

spine
setBalance(balance: Float): Void
Name Type
balance Float

spine
getTime(): Float

The animation time this event was keyed.

Returns
Float

spine
getData(): EventData

The events's setup pose data.

Returns
EventData

spine
toString(): String
Returns
String

spine
new(time: Float, data: EventData): Void
Name Type
time Float
data EventData

Private Members

spine
data: EventData