Module Key
[hide private]
[frames] | no frames]

Module Key

source code

The Blender.Key submodule.

This module provides access to Key objects in Blender.

Classes [hide private]
  Key
An object with keyframes (Lattice, NMesh or Curve) will contain a Key object representing the keyframe data.
  KeyBlock
Each Key object has a list of KeyBlocks attached, each KeyBlock representing a keyframe.
Functions [hide private]
 
Get(name=None)
Get the named Key object from Blender.
source code
Variables [hide private]
readonly dictionary Types
The type of a key owner, indicating the type of data in the data blocks.
  __package__ = None
Function Details [hide private]

Get(name=None)

source code 

Get the named Key object from Blender. If the name is omitted, it will retrieve a list of all keys in Blender.

Parameters:
  • name (string) - the name of the requested key
Returns:
If name was given, return that Key object (or None if not found). If a name was not given, return a list of every Key object in Blender.

Variables Details [hide private]

Types

The type of a key owner, indicating the type of data in the data blocks.
  • MESH - the key is a Mesh key; data blocks contain NMVert vertices.
  • CURVE - the key is a Curve key; data blocks contains either BezTriples or points (represented by a list of 3 floating point numbers).
  • LATTICE - the key is a Lattice key; data blocks contain BPoints, each point represented by a list of 3 floating point numbers.
Type:
readonly dictionary