Module Key
[frames | no frames]

Module Key

The Blender.Key submodule.

This module provides access to Key objects in Blender.
Classes
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.

Function Summary
  Get(name)
Get the named Key object from Blender.

Variable Summary
readonly dictionary Types: The type of a key owner, indicating the type of data in the data blocks.

Function Details

Get(name=None)

Get the named Key object from Blender. If the name is omitted, it will retrieve a list of all keys in Blender.
Parameters:
name - the name of the requested key
           (type=string)
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.

Variable Details

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

Generated by Epydoc 2.1 on Sun Feb 11 13:30:18 2007 http://epydoc.sf.net