unreal.GameplayCueNotify_CameraAnimInfo

class unreal.GameplayCueNotify_CameraAnimInfo(spawn_condition_override=[GameplayCueNotify_LocallyControlledSource.INSTIGATOR_ACTOR, GameplayCueNotify_LocallyControlledPolicy.ALWAYS, 1.0, [], []], camera_anim=None, anim_scale=1.0, play_rate=1.0, blend_in_time=0.0, blend_out_time=0.0, play_space=GameplayCueNotify_EffectPlaySpace.CAMERA_SPACE, is_looping=False, random_start_time=False, override_spawn_condition=False)

Bases: unreal.StructBase

FGameplayCueNotify_CameraAnimInfo

Properties that specify how to play a camera animation.

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayCueNotifyTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • anim_scale (float): [Read-Write] Anim Scale: Scale applied to the camera animation.

  • blend_in_time (float): [Read-Write] Blend in Time: Time (in seconds) used to blend in the camera animation.

  • blend_out_time (float): [Read-Write] Blend Out Time: Time (in seconds) used to blend out the camera animation.

  • camera_anim (CameraAnim): [Read-Write] Camera Anim: Camera animation to play.

  • is_looping (bool): [Read-Write] Is Looping: If enabled, the camera animation will be set to loop.

  • override_spawn_condition (bool): [Read-Write] Override Spawn Condition: If enabled, use the spawn condition override and not the default one.

  • play_rate (float): [Read-Write] Play Rate: Rate to play the camera animation at.

  • play_space (GameplayCueNotify_EffectPlaySpace): [Read-Write] Play Space: What coordinate space to play the camera animation relative to.

  • random_start_time (bool): [Read-Write] Random Start Time: If enabled, the camera animation will start at a random time. Only used when looping.

  • spawn_condition_override (GameplayCueNotify_SpawnCondition): [Read-Write] Spawn Condition Override: Condition to check before playing the camera animation.

property anim_scale

[Read-Only] Anim Scale: Scale applied to the camera animation.

Type

(float)

property blend_in_time

[Read-Only] Blend in Time: Time (in seconds) used to blend in the camera animation.

Type

(float)

property blend_out_time

[Read-Only] Blend Out Time: Time (in seconds) used to blend out the camera animation.

Type

(float)

property camera_anim

[Read-Only] Camera Anim: Camera animation to play.

Type

(CameraAnim)

property is_looping

[Read-Only] Is Looping: If enabled, the camera animation will be set to loop.

Type

(bool)

property override_spawn_condition

[Read-Only] Override Spawn Condition: If enabled, use the spawn condition override and not the default one.

Type

(bool)

property play_rate

[Read-Only] Play Rate: Rate to play the camera animation at.

Type

(float)

property play_space

[Read-Only] Play Space: What coordinate space to play the camera animation relative to.

Type

(GameplayCueNotify_EffectPlaySpace)

property random_start_time

[Read-Only] Random Start Time: If enabled, the camera animation will start at a random time. Only used when looping.

Type

(bool)

property spawn_condition_override

[Read-Only] Spawn Condition Override: Condition to check before playing the camera animation.

Type

(GameplayCueNotify_SpawnCondition)