add_marker


Description:

[ Version ( since = "1.14" ) ]
public void add_marker (string marker_name, double progress)

Adds a named marker that will be hit when the timeline has reached the specified progress.

Markers are unique string identifiers for a given position on the timeline. Once this reaches the given progress of its duration, if will emit a marker_reached signal for each marker attached to that particular point.

A marker can be removed with remove_marker. The timeline can be advanced to a marker using advance_to_marker.

See also: add_marker_at_time

Parameters:

this

a Timeline

marker_name

the unique name for this marker

progress

the normalized value of the position of the martke