unreal.CurveFromSyncMarkersModifier

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

Bases: AnimationModifier

Generates a float curve from the authored sync markers on an animation sequence. Each sync marker listed in SyncMarkerValues contributes a curve key at the marker’s time with the corresponding float value.

C++ Source:

  • Plugin: AnimationModifierLibrary

  • Module: AnimationModifierLibrary

  • File: CurveFromSyncMarkersModifier.h

Editor Properties: (see get_editor_property/set_editor_property)

  • curve_name (Name): [Read-Write] Name of the float curve to add to the animation

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

  • remove_curve_on_revert (bool): [Read-Write] If true, the generated curve is removed when the modifier is reverted

  • sync_marker_values (Array[SyncMarkerCurveEntry]): [Read-Write] List of sync marker names and the float value each should contribute to the generated curve

property curve_name: Name

[Read-Write] Name of the float curve to add to the animation

Type:

(Name)

property remove_curve_on_revert: bool

[Read-Write] If true, the generated curve is removed when the modifier is reverted

Type:

(bool)

property sync_marker_values: None

[Read-Write] List of sync marker names and the float value each should contribute to the generated curve

Type:

(Array[SyncMarkerCurveEntry])