unreal.AnimNotifyState_MotionWarping

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

Bases: AnimNotifyState

AnimNotifyState used to define a motion warping window in the animation

C++ Source:

  • Plugin: MotionWarping

  • Module: MotionWarping

  • File: AnimNotifyState_MotionWarping.h

Editor Properties: (see get_editor_property/set_editor_property)

  • notify_color (Color): [Read-Write] Color of Notify in editor

  • root_motion_modifier (RootMotionModifier): [Read-Write] TODO:: Prevent notify callbacks and add comments explaining why we don’t use those here.

  • should_fire_in_editor (bool): [Read-Write] Whether this notify state instance should fire in animation editors

add_root_motion_modifier(motion_warping_comp, animation, start_time, end_time) RootMotionModifier

Creates a root motion modifier from the config class defined in the notify

Parameters:
Return type:

RootMotionModifier

on_warp_begin(motion_warping_comp, modifier) None

On Warp Begin

Parameters:
on_warp_end(motion_warping_comp, modifier) None

On Warp End

Parameters:
on_warp_update(motion_warping_comp, modifier) None

On Warp Update

Parameters:
property root_motion_modifier: RootMotionModifier

[Read-Only] TODO:: Prevent notify callbacks and add comments explaining why we don’t use those here.

Type:

(RootMotionModifier)