set_from_value
Description:
Sets the initial 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 | |
value |
a Value with the initial value of the transition |