Class CinemachineImpulseListener
An extension for Cinemachine Virtual Camera which post-processes the final position of the virtual camera. It listens for CinemachineImpulse signals on the specified channels, and moves the camera in response to them.
Inheritance
Inherited Members
Namespace: Cinemachine
Assembly: solution.dll
Syntax
[AddComponentMenu("")]
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
public class CinemachineImpulseListener : CinemachineExtension
Fields
Name | Description |
---|---|
m_ChannelMask | Impulse events on channels not included in the mask will be ignored. |
m_Gain | Gain to apply to the Impulse signal. |
m_Use2DDistance | Enable this to perform distance calculation in 2D (ignore Z). |
Methods
Name | Description |
---|---|
PostPipelineStageCallback(CinemachineVirtualCameraBase, Stage, ref CameraState, float) | This callback will be called after the virtual camera has implemented each stage in the pipeline. This method may modify the referenced state. If deltaTime less than 0, reset all state info and perform no damping. |