ActionLayers(bpy_prop_collection)
base classes — bpy_prop, bpy_prop_collection
- class bpy.types.ActionLayers(bpy_prop_collection)
Collection of animation layers
- new(name)
Add a layer to the Animation. Currently an Animation can only have at most one layer.
- Parameters:
name (str) – Name, Name of the layer, will be made unique within the Action (never None)
- Returns:
Newly created animation layer
- Return type:
- remove(anim_layer)
Remove the layer from the animation
- Parameters:
anim_layer (
ActionLayer) – Animation Layer, The layer to remove
- 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:
- 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