add method

add

Create a new key frame with specified value

def add(self, time, value):
    ...
ParameterTypeDescription
timefloatTime position(measured in seconds)
valuefloatThe value at this time position

add

Create a new key frame with specified value

def add(self, time, value, interpolation):
    ...
ParameterTypeDescription
timefloatTime position(measured in seconds)
valuefloatThe value at this time position
interpolationInterpolationThe interpolation type of this key frame

See Also