set_to_value


Description:

[ Version ( since = "1.12" ) ]
public void set_to_value (Value value)

Sets the final value of the transition.

This is a convenience function that will either create the Interval used by this, or will update it if the interval is already set.

This function will copy the contents of value, so it is safe to call unset after it returns.

If this already has a interval set, then value must hold the same type, or a transformable type, as the interval's value_type property.

This function is meant to be used by language bindings.

Parameters:

this

a Transition

value

a Value with the final value of the transition