BaseEffectTimeTranslationFunc


Description:

[ CCode ( instance_pos = 3.9 ) ]
[ Version ( since = "1.18" ) ]
public delegate ClockTime BaseEffectTimeTranslationFunc (BaseEffect effect, ClockTime time, HashTable<string,Value?> time_property_values)

A function for querying how an effect would translate a time if it had the given child property values set.

The keys for time_properties will be the same string that was passed to register_time_property, the values will be Value* values of the corresponding child properties. You should always use the values given in time_properties before using the currently set values.

Parameters:

effect

The BaseEffect that is doing the time translation

time

The ClockTime to translation

time_property_values

A table of child property name/value pairs

user_data

Data passed to set_time_translation_funcs

Returns:

The translated time.


Namespace: GES



2022 vala-language.org