edit


Description:

[ Version ( since = "1.18" ) ]
public bool edit (List<Layer>? layers, int64 new_layer_priority, EditMode mode, Edge edge, uint64 position)

See edit_full, which also gives an error.

Note that the layers argument is currently ignored, so you should just pass null.

Parameters:

this

The TimelineElement to edit

layers

A whitelist of layers where the edit can be performed, null allows all layers in the timeline.

new_layer_priority

The priority/index of the layer this should be moved to. -1 means no move

mode

The edit mode

edge

The edge of this where the edit should occur

position

The edit position: a new location for the edge of this (in nanoseconds) in the timeline coordinates

Returns:

true if the edit of this completed, false on failure.