- class unreal.CameraShakeBase(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Base class for a camera shake. A camera shake contains a root shake “pattern” which is the object that contains the actual logic driving how the camera is shaken. Keeping the two separate makes it possible to completely change how a shake works without having to create a completely different asset.
Editor Properties: (see get_editor_property/set_editor_property)
root_shake_pattern(CameraShakePattern): [Read-Write] Root Shake Pattern: The root pattern for this camera shake
shake_scale(float): [Read-Write] Shake Scale: The overall scale to apply to the shake. Only valid when the shake is active.
single_instance(bool): [Read-Write] Single Instance: If true to only allow a single instance of this shake class to play at any given time. Subsequent attempts to play this shake will simply restart the timer.
- get_root_shake_pattern() CameraShakePattern ¶
Gets the root pattern of this camera shake
- Return type:
- set_root_shake_pattern(pattern) None ¶
Sets the root pattern of this camera shake
pattern (CameraShakePattern) –