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 |
---|---|
ApplyAfter | When to apply the impulse reaction. Default is Noise. |
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). |
UseCameraSpace | Enable this to process all impulse signals in camera space. |
Methods
Name | Description |
---|---|
PostPipelineStageCallback(CinemachineVirtualCameraBase, Stage, ref CameraState, float) | React to any detected impulses |