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.
상속된 멤버
네임스페이스: Cinemachine
어셈블리: solution.dll
구문
[AddComponentMenu("")]
[DocumentationSorting(DocumentationSortingAttribute.Level.UserRef)]
[ExecuteInEditMode]
public class CinemachineImpulseListener : CinemachineExtension
필드
이름 | 설명 |
---|---|
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). |
메서드
이름 | 설명 |
---|---|
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. |