Table of Contents

DOShakeRotation Method

Namespace
DG.Tweening
Assembly
DOTween.dll

DOShakeRotation(Camera, float, float, int, float, bool, ShakeRandomnessMode)

public static Tweener DOShakeRotation(this Camera target, float duration, float strength = 90, int vibrato = 10, float randomness = 90, bool fadeOut = true, ShakeRandomnessMode randomnessMode = ShakeRandomnessMode.Full)

Parameters

target Camera
duration float
strength float
vibrato int
randomness float
fadeOut bool
randomnessMode ShakeRandomnessMode

Returns

Tweener

DOShakeRotation(Camera, float, Vector3, int, float, bool, ShakeRandomnessMode)

public static Tweener DOShakeRotation(this Camera target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true, ShakeRandomnessMode randomnessMode = ShakeRandomnessMode.Full)

Parameters

target Camera
duration float
strength Vector3
vibrato int
randomness float
fadeOut bool
randomnessMode ShakeRandomnessMode

Returns

Tweener

DOShakeRotation(Transform, float, float, int, float, bool, ShakeRandomnessMode)

public static Tweener DOShakeRotation(this Transform target, float duration, float strength = 90, int vibrato = 10, float randomness = 90, bool fadeOut = true, ShakeRandomnessMode randomnessMode = ShakeRandomnessMode.Full)

Parameters

target Transform
duration float
strength float
vibrato int
randomness float
fadeOut bool
randomnessMode ShakeRandomnessMode

Returns

Tweener

DOShakeRotation(Transform, float, Vector3, int, float, bool, ShakeRandomnessMode)

public static Tweener DOShakeRotation(this Transform target, float duration, Vector3 strength, int vibrato = 10, float randomness = 90, bool fadeOut = true, ShakeRandomnessMode randomnessMode = ShakeRandomnessMode.Full)

Parameters

target Transform
duration float
strength Vector3
vibrato int
randomness float
fadeOut bool
randomnessMode ShakeRandomnessMode

Returns

Tweener