unreal.CameraAnimInst

class unreal.CameraAnimInst(outer=None, name='None')

Bases: unreal.Object

Camera Anim Inst

C++ Source:

  • Module: Engine

  • File: CameraAnimInst.h

Editor Properties: (see get_editor_property/set_editor_property)

  • play_rate (float): [Read-Write] Multiplier for playback rate. 1.0 = normal.

property play_rate

[Read-Write] Multiplier for playback rate. 1.0 = normal.

Type

(float)

set_duration(new_duration)None

Changes the running duration of this active anim, while maintaining playback position.

Parameters

new_duration (float) –

set_scale(new_duration)None

Changes the scale of the animation while playing.

Parameters

new_duration (float) –

stop(immediate=False)None

Stops this instance playing whatever animation it is playing.

Parameters

immediate (bool) –