CameraShake

from acron.camera_shake import CameraShake
class CameraShake(camera_np, speed: float = 1.0, decay_rate: float = 1.5, max_yaw: float = 0.05, max_pitch: float = 0.05, max_roll: float = 0.1, max_trauma: float = 1.2, frequency: float = 15.0, seed: int = 1)

Bases: object

Applies a decaying trauma shake to a camera node’s HPR each frame.

Inheritance diagram

digraph inheritance612b579aae { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "CameraShake" [URL="acron.camera_shake.CameraShake.html#acron.camera_shake.CameraShake",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="Applies a decaying trauma shake to a camera node's HPR each frame."]; }