[ Version ( since = "1.18" ) ]
public bool set_active_for_tracks (bool active, List<Track>? tracks)
Activate or deactivate track elements in tracks
(or in all tracks if tracks
is null
).
When a layer is deactivated for a track, all the TrackElement-s in the track that belong to a Clip in the layer will no longer be active in the track, regardless of their individual active value.
Note that by default a layer will be active for all of its timeline's tracks.
this |
The Layer |
active |
Whether elements in |
tracks |
The list of tracks this should be (de-)active in, or null to include all the tracks in the this's timeline |
true if the operation worked false otherwise. |