![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
A template class to create key objects for the Animation class.
The default constructor.
Murl.Logic.AnimationKey.MathVector new()
The constructor including time and value.
Murl.Logic.AnimationKey.MathVector new(Number time, Murl.Math.Vector 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.MathVector new(Number time, Murl.Math.Vector 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.MathVector new(Number time, Murl.Math.Vector 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.MathVector 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.