add_asset


Description:

public unowned TrackElement? add_asset (Asset asset)

Extracts a TrackElement from an asset and adds it to the clip.

This can be used to add effects that derive from the asset to the clip, but this method is not intended to be used to create the core elements of the clip.

Parameters:

this

A Clip

asset

An asset with GES_TYPE_TRACK_ELEMENT as its extractable_type

Returns:

The newly created element, or null if an error occurred.




2022 vala-language.org