![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A template class to create key objects for the Animation class.
The template parameter value type.
The default constructor.
Murl.Logic.AnimationKey.Color new()
The constructor including time and value.
Murl.Logic.AnimationKey.Color new(Number time, Murl.Color value)
time | The time for the key in seconds. |
value | The value for the key. |
The constructor including time, value and interpolation.
Murl.Logic.AnimationKey.Color new(Number time, Murl.Color value, Murl.IEnums.Interpolation interpolation)
time | The time for the key in seconds. |
value | The value for the key. |
interpolation | The interpolation type. |
The constructor including time, value and linear flag.
Murl.Logic.AnimationKey.Color new(Number time, Murl.Color value, Boolean linear)
time | The time for the key in seconds. |
value | The value for the key. |
linear | true for linear interpolation, false for constant interpolation. |
Compare the animation key to another one.
Boolean IsEqual(Murl.Logic.AnimationKey.Color other)
other | The key to compare. |
The "equal to" comparison operator, calls IsEqual().
The time of the key.
The value of the key.
The interpolation type of the key.