Creates an empty layer and records its creation in the undo stack.
Adds a transition between clips on this layer.
Transition instance or transition constructor options.
The created transition instance ID.
Resolves negative positions and overlapping clips by moving clips to the next valid slot.
true if any clip positions changed; otherwise false.
Removes all custom metadata entries from the layer.
Nothing.
Destroys the layer container and all owned clips and transitions.
Nothing.
Returns a copy of the layer's custom metadata.
A new metadata map, or undefined if no custom metadata has been set.
Returns the clip IDs in layer order.
The ordered clip ID list.
Returns a custom metadata value stored on the layer.
Metadata key to read.
The stored value, or undefined if the key is not present.
Returns the right-most occupied time on the layer.
The layer duration in timeline seconds.
Returns the display name of the layer.
The layer name.
Returns the earliest available start time at or after the requested range that avoids overlaps.
Desired start time in seconds.
Desired end time in seconds.
The next available start time in seconds.
Returns a transition by its instance ID.
Transition instance ID to look up.
The matching transition, or null if not found.
Returns whether the layer is currently visible.
true if the layer is visible; otherwise false.
Returns the layer volume multiplier.
The layer volume.
Checks whether a custom metadata entry exists on the layer.
Metadata key to check.
true if the key exists; otherwise false.
Checks whether the supplied time range is free of clip overlap on this layer.
Range start time in seconds.
Range end time in seconds.
true if the range is empty on this layer; otherwise false.
Initializes the PIXI container for this layer and initializes all contained transitions and clips.
A promise that resolves after the layer is ready for rendering.
Indicates whether the layer contains any clips.
true if the layer has no clips; otherwise false.
Indicates whether the layer is muted.
true if the layer is muted; otherwise false.
Moves a clip from this layer to another layer.
Clip ID to move.
Destination layer ID.
Nothing.
Lifecycle hook called when playback pauses.
Current timeline time, in seconds.
Nothing.
Lifecycle hook called when playback starts.
Current timeline time, in seconds.
A promise that resolves after all owned clips and transitions have handled playback start.
Lifecycle hook called when the render size changes.
New render width in pixels.
New render height in pixels.
Nothing.
Performs post-render work for all clips and transitions on this layer.
Current timeline time, in seconds.
Nothing.
Removes all transitions that were created from the specified transition definition ID.
Transition definition ID to remove.
Nothing.
Removes a clip and any transitions that depend on it.
Clip ID to remove.
true if the clip was found and removed; otherwise false.
Renders all clips and transitions owned by this layer for the current frame.
Current timeline time, in seconds.
The PIXI container used to display the layer.
Serializes the layer, including clips, transitions, and custom data.
The serialized layer payload.
Replaces all custom metadata entries on the layer.
Metadata map to store.
Nothing.
Stores custom metadata on the layer.
Metadata key to write.
Metadata value to store.
When false, preserves existing values and rejects duplicate keys.
true if the value was stored; otherwise false.
Mutes or unmutes the layer.
Whether the layer should be muted.
Nothing.
Sets the display name of the layer.
Layer name to assign.
Nothing.
Shows or hides the entire layer container.
Whether the layer should be visible.
Nothing.
Sets the layer volume multiplier.
Layer volume multiplier.
Nothing.
Sets the renderer z-index for this layer container.
Layer z-index.
Nothing.
Splits a clip into two clips at the supplied timeline time.
Clip ID to split.
Timeline time, in seconds, where the split should happen.
A promise that resolves to the newly created right-side clip, or null if the split is invalid.
Updates all clips and transitions owned by this layer for the current time.
Current timeline time, in seconds.
Nothing.
Static_StaticdeserializeCreates a layer from serialized data.
Serialized layer payload.
The deserialized layer.
Represents a timeline layer that owns clips, transitions, and layer-level playback state.