Module Key :: Class Key

Class Key

source code

The Key object

An object with keyframes (Lattice, NMesh or Curve) will contain a Key object representing the keyframe data.

Instance Methods
 
getIpo()
Get the Ipo object associated with this key.
source code
 
getBlocks()
Get a list of KeyBlocks, containing the keyframes defined for this Key.
source code
Instance Variables
Blender KeyBlock. blocks
A list of KeyBlocks for the key.
Blender Ipo ipo
Key Ipo.
bool relative
Indicates whether the key is relative(=True) or normal.
int type
An integer from the Types dictionary representing the Key type.
float value
The value of the key.
Instance Variable Details

blocks

A list of KeyBlocks for the key. Read-only.
Type:
Blender KeyBlock.

ipo

Key Ipo. Contains the Ipo if one is assigned to the object, None otherwise. Setting to None clears the current Ipo.
Type:
Blender Ipo

type

An integer from the Types dictionary representing the Key type. Read-only.
Type:
int

value

The value of the key. Read-only.
Type:
float