[ view source ]
class TimelineDegreesTrack
package ceramic
extends TimelineTrack › Entity
@:directlyUsed@:build(tracker.macros.EventsMacro.build())@:autoBuild(tracker.macros.EventsMacro.build())@:build(ceramic.macros.EntityMacro.buildForCompletion())@:autoBuild(ceramic.macros.EntityMacro.buildForCompletion())Available on all targets
Events
Constructor
Variables
Methods
Inherited Events
Defined by TimelineTrack
Inherited Variables
Defined by TimelineTrack
@:value(0)size:Int = 0
Track size. Default 0
, meaning this track won't do anything.
By default, because autoFitSize
is true
, adding new keyframes to this
track will update size
accordingly so it may not be needed to update size
explicitly.
Setting size
to -1
means the track will never finish.
@:value(true)autoFitSize:Bool = true
If set to true
(default), adding keyframes to this track will update
its size accordingly to match last keyframe time.
@:value(false)loop:Bool = false
Whether this track should loop. Ignored if track's size
is -1
(not defined).
@:value(false)locked:Bool = false
Whether this track is locked or not. A locked track doesn't get updated by the timeline it is attached to, if any.
@:value(null)@:allow(ceramic.Timeline)read onlytimeline:Timeline = null
Timeline on which this track is added to
Defined by Entity
@editablecomponents:ReadOnlyMap<String, Component>
Public components mapping. Contain components
created separately with component()
or macro-based components as well.
Inherited Methods
Defined by TimelineTrack
Defined by Entity
autorun(run:() ‑> Void, ?afterRun:() ‑> Void):Autorun
Creates a new Autorun
instance with the given callback associated with the current entity.
Parameters:
run | The run callback |
---|
Returns:
The autorun instance