unreal.AnimationAttributeIdentifier

class unreal.AnimationAttributeIdentifier(name: Name = 'None', bone_name: Name = 'None', bone_index: int = 0, script_struct: ScriptStruct = Ellipsis, script_struct_path: SoftObjectPath = Ellipsis)

Bases: StructBase

Script-friendly structure for identifying an attribute (curve). Wrapping the attribute name, bone name and index, and underlying data type for use within the AnimDataController API.

C++ Source:

  • Module: Engine

  • File: AttributeIdentifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_index (int32): [Read-Write] Bone Index

  • bone_name (Name): [Read-Write] Bone Name

  • name (Name): [Read-Write] Name

  • script_struct (ScriptStruct): [Read-Write] Script Struct

  • script_struct_path (SoftObjectPath): [Read-Write] Script Struct Path

property bone_index: int

[Read-Only] Bone Index

Type:

(int32)

property bone_name: Name

[Read-Only] Bone Name

Type:

(Name)

is_valid() bool
Returns:

Whether or not the Attribute Identifier is valid

Return type:

bool

property name: Name

[Read-Only] Name

Type:

(Name)

property script_struct: ScriptStruct

[Read-Only] Script Struct

Type:

(ScriptStruct)

property script_struct_path: SoftObjectPath

[Read-Only] Script Struct Path

Type:

(SoftObjectPath)