unreal.CopyBonesModifier

class unreal.CopyBonesModifier(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: AnimationModifier

Animation Modifier to copy the transform of ‘SourceBone(s)’ to ‘TargetBone(s)’

C++ Source:

  • Plugin: AnimationModifierLibrary

  • Module: AnimationModifierLibrary

  • File: CopyBonesModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bone_pairs (Array[BoneReferencePair]): [Read-Write] Bone Pairs: Source and Target bone pairs

  • bone_pose_space (AnimPoseSpaces): [Read-Write] Bone Pose Space: Space to convert SourceBone transforms into before copying them to TargetBone

  • reapply_post_owner_change (bool): [Read-Write] Reapply Post Owner Change: If this is set to true then the animation modifier will call it’s reapply function after any change made to the owning asset.

property bone_pairs: Array[BoneReferencePair]

[Read-Only] Bone Pairs: Source and Target bone pairs

Type:

(Array[BoneReferencePair])

property bone_pose_space: AnimPoseSpaces

[Read-Only] Bone Pose Space: Space to convert SourceBone transforms into before copying them to TargetBone

Type:

(AnimPoseSpaces)