nuke.rotopaint.AnimCurveKey

class nuke.rotopaint.AnimCurveKey

Bases: object

A key value in a parametric curve represented as a value at a particular time.

Methods

getFlag

Check whether a particular flag is set or not.

reset

Reset this key to its default values.

setFlag

Set a particular flag.

Attributes

interpolationType

The interpolation type to use for this key.

kDefaultAnimCurveKeyInterpolation

kDefaultAnimCurveKeyTime

kDefaultAnimCurveKeyValue

la

The left bicubic value for this key.

lslope

The left derivative for this key.

ra

The right bicubic value for this key.

rslope

The right derivative for this key.

time

The time this key is set at.

value

The value for this key.

getFlag(flag) bool

Check whether a particular flag is set or not. The flag parameter should be one of the constants from the FlagType class. The return value will be True if the flag is set, False if it isn’t.

interpolationType

The interpolation type to use for this key.

la

The left bicubic value for this key.

lslope

The left derivative for this key.

ra

The right bicubic value for this key.

reset() None

Reset this key to its default values.

rslope

The right derivative for this key.

setFlag(flag, value) None

Set a particular flag. The flag parameter specifies which flag to set and should be one of the constants from the FlagType class. The value parameter is a boolean value; True will set the flag, False will clear it.

time

The time this key is set at.

value

The value for this key.