[ DestroysInstance ]
public virtual List<Container> ungroup (bool recursive)
Ungroups the container by splitting it into several containers containing various children of the original.
The rules for how the container splits depends on the subclass. A Group will simply split into its children. A Clip will split into one Clip per TrackType it overlaps with (so an audio-video clip will split into an audio clip and a video clip), where each clip contains all the TrackElement-s from the original clip with a matching track_type.
If recursive
is true, and the container contains other containers as children, then they
will also be ungrouped, and so on.
this |
The container to ungroup |
recursive |
Whether to recursively ungroup this |
The list of new Container-s created from the splitting of this. |