Key(ID)

base classes — bpy_struct, ID

class bpy.types.Key(ID)

Shape keys data-block containing different shapes of geometric data-blocks

animation_data

Animation data for this data-block (readonly)

Type:

AnimData

eval_time

Evaluation time for absolute shape keys (in [0, 1.04857e+06], default 0.0)

Type:

float

key_blocks

Shape keys (default None, readonly)

Type:

bpy_prop_collection[ShapeKey]

reference_key

(readonly, never None)

Type:

ShapeKey

use_gpu_deform

Choose whether shape keys are evaluated on CPU or GPU (default False)

Type:

bool

use_relative

Make shape keys relative, otherwise play through shapes as a sequence using the evaluation time (default False)

Type:

bool

user

Data-block using these shape keys (readonly, never None)

Type:

ID

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References