Class CinemachineImpulseListener
An extension for CinemachineCamera which post-processes the final position of the camera. It listens for CinemachineImpulse signals on the specified channels, and moves the camera in response to them.
Inheritance
Inherited Members
Namespace: Unity.Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("Cinemachine/Procedural/Extensions/Cinemachine Impulse Listener")]
[ExecuteAlways]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.cinemachine@3.0/manual/CinemachineImpulseListener.html")]
public class CinemachineImpulseListener : CinemachineExtension
Fields
Name | Description |
---|---|
Apply |
When to apply the impulse reaction. Default is Noise. |
Channel |
Impulse events on channels not included in the mask will be ignored. |
Gain | Gain to apply to the Impulse signal. |
Reaction |
This controls the secondary reaction of the listener to the incoming impulse. |
Use2DDistance | Enable this to perform distance calculation in 2D (ignore Z). |
Use |
Enable this to process all impulse signals in camera space. |
Methods
Name | Description |
---|---|
Post |
React to any detected impulses |