unreal.AnimLayer

class unreal.AnimLayer(outer: Object | None = None, name: Name | str = 'None')

Bases: Object

Anim Layer

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRigEditor

  • File: AnimLayers.h

Editor Properties: (see get_editor_property/set_editor_property)

  • anim_layer_items (Map[Object, AnimLayerItem]): [Read-Only]

  • state (AnimLayerState): [Read-Only]

add_selected_in_sequencer() bool

Add Selected in Sequencer

Return type:

bool

get_active() bool

Get Active

Return type:

bool

get_keyed() CheckBoxState

Get Keyed

Return type:

CheckBoxState

get_lock() bool

Get Lock

Return type:

bool

get_name() Text

Get Name

Return type:

Text

get_selected() CheckBoxState

Get Selected

Return type:

CheckBoxState

get_type() AnimLayerType

Get Type

Return type:

AnimLayerType

get_weight() double

Get Weight

Return type:

double

remove_selected_in_sequencer() bool

Remove Selected in Sequencer

Return type:

bool

set_active(active) None

Set Active

Parameters:

active (bool)

set_keyed() None

Set Keyed

set_lock(lock) None

Set Lock

Parameters:

lock (bool)

set_name(name) None

Set Name

Parameters:

name (Text)

set_selected(selected, clear_selection) None

Set Selected

Parameters:
  • selected (bool)

  • clear_selection (bool)

set_type(layer_type) None

Set Type

Parameters:

layer_type (AnimLayerType)

set_weight(weight) None

Set Weight

Parameters:

weight (double)