Fields

width:Float

Fragment width

@:optionaloptionaltransparent:Null<Bool>

Fragment being transparent or not (default true)

@:optionaloptionaltracks:Null<Array<TimelineTrackData>>

Timeline tracks

@:optionaloptionaloverflow:Null<Bool>

Whether fragment background overflows (no effect on fragment itself, depends on player implementation)

@:optionaloptionallabels:Null<DynamicAccess<Int>>

Timeline labels

@:optionaloptionalitems:Null<Array<FragmentItem>>

Fragment items (visuals or other entities)

id:String

Identifier of the fragment.

height:Float

Fragment height

@:optionaloptionalfps:Null<Int>

Frames per second (used in timeline, default is 30). Note that this is only affecting how long a frame in the timeline lasts. Using 30FPS doesn't mean the screen will be rendered at 30FPS. Frame values are interpolated to match screen frame rate.

data:Dynamic<Dynamic>

Arbitrary data hold by this fragment.

components:DynamicAccess<String>

Fragment-level components

@:optionaloptionalcolor:Null<Color>

Fragment color (if not transparent, default BLACK)