unreal.AnimSegment

class unreal.AnimSegment(anim_reference: AnimSequenceBase = Ellipsis, start_pos: float = 0.0, anim_start_time: float = 0.0, anim_end_time: float = 0.0, anim_play_rate: float = 0.0, looping_count: int = 0)

Bases: StructBase

this is anim segment that defines what animation and how *

C++ Source:

  • Module: Engine

  • File: AnimCompositeBase.h

Editor Properties: (see get_editor_property/set_editor_property)

  • anim_end_time (float): [Read-Write] Time to end playing the AnimSequence at.

  • anim_play_rate (float): [Read-Write] Playback speed of this animation. If you’d like to reverse, set -1

  • anim_reference (AnimSequenceBase): [Read-Write] Anim Reference to play - only allow AnimSequence or AnimComposite *

  • anim_start_time (float): [Read-Write] Time to start playing AnimSequence at.

  • cached_play_length (float): [Read-Write]

  • looping_count (int32): [Read-Write]

  • start_pos (float): [Read-Only] Start Pos within this AnimCompositeBase

property anim_end_time: float

[Read-Only] Time to end playing the AnimSequence at.

Type:

(float)

property anim_play_rate: float

[Read-Only] Playback speed of this animation. If you’d like to reverse, set -1

Type:

(float)

property anim_reference: AnimSequenceBase

[Read-Only] Anim Reference to play - only allow AnimSequence or AnimComposite *

Type:

(AnimSequenceBase)

property anim_start_time: float

[Read-Only] Time to start playing AnimSequence at.

Type:

(float)

property looping_count: int

[Read-Only]

Type:

(int32)

property start_pos: float

[Read-Only] Start Pos within this AnimCompositeBase

Type:

(float)