| Package | alternativa.engine3d.animation.keys |
| Class | public class Track |
| Inheritance | Track Object |
| Subclasses | NumberTrack, TransformTrack |
See also
| Property | Defined By | ||
|---|---|---|---|
| keys : Vector.<Keyframe> [read-only]
Time-sorted list of key frames. | Track | ||
| length : Number [read-only]
The length of animation in seconds.. | Track | ||
| object : String
Name of the object which is animated. | Track | ||
| Method | Defined By | ||
|---|---|---|---|
Track()
Creates a Track object. | Track | ||
Removes the supplied key frame. | Track | ||
Returns a fragment of animation track between start and end time. | Track | ||
| keys | property |
keys:Vector.<Keyframe> [read-only] Time-sorted list of key frames.
public function get keys():Vector.<Keyframe>| length | property |
length:Number [read-only] The length of animation in seconds..
public function get length():Number| object | property |
public var object:StringName of the object which is animated.
| Track | () | Constructor |
public function Track()Creates a Track object.
| removeKey | () | method |
public function removeKey(key:Keyframe):KeyframeRemoves the supplied key frame.
Parameters
key:Keyframe — the key frame to remove.
|
Keyframe — removed key frame.
|
| slice | () | method |
public function slice(start:Number, end:Number):TrackReturns a fragment of animation track between start and end time.
Parameters
start:Number — Fragment's start time.
| |
end:Number (default = NaN) — Fragment's end time.
|
Track — Track fragment.
|