Class CinemachineExternalImpulseListener
This behaviour can be attached to any object to make it shake in response to Impulses.
This behaviour can be attached to the main Camera with the CinemachineBrain, to allow the main camera to shake without putting Listeners on the virtual cameras. In this case, camera shake is not dependent on the active virtual camera.
It is also possible to put this behaviour on other scene objects to shake them in response to impulses.
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("Cinemachine/Helpers/Cinemachine External Impulse Listener")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineExternalImpulseListener.html")]
public class CinemachineExternalImpulseListener : MonoBehaviour
Fields
Name | Description |
---|---|
ChannelMask | Impulse events on channels not included in the mask will be ignored. |
Gain | Gain to apply to the Impulse signal. |
ReactionSettings | This controls the secondary reaction of the listener to the incoming impulse. |
Use2DDistance | Enable this to perform distance calculation in 2D (ignore Z). |
UseLocalSpace | Enable this to process all impulse signals in camera space. |