TopDown Engine  v3.6
MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom Class Reference

This class will allow you to trigger zooms on your cinemachine camera by sending MMCameraZoomEvents from any other class More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom:

Public Member Functions

virtual float GetTime ()
 
virtual float GetDeltaTime ()
 

Public Attributes

MMChannelModes ChannelMode = MMChannelModes.Int
 
int Channel = 0
 the channel to listen to - has to match the one on the feedback More...
 
MMChannel MMChannelDefinition = null
 
MMTweenType ZoomTween = new MMTweenType( new AnimationCurve(new Keyframe(0f, 0f), new Keyframe(1f, 1f)))
 the animation curve to apply to the zoom transition More...
 
MMCameraZoomModes TestMode
 the mode to apply the zoom in when using the test button in the inspector More...
 
float TestFieldOfView = 30f
 the target field of view to apply the zoom in when using the test button in the inspector More...
 
float TestTransitionDuration = 0.1f
 the transition duration to apply the zoom in when using the test button in the inspector More...
 
float TestDuration = 0.05f
 the duration to apply the zoom in when using the test button in the inspector More...
 
bool TestZoomButton
 an inspector button to test the zoom in play mode More...
 

Properties

virtual TimescaleModes TimescaleMode [get, set]
 

Detailed Description

This class will allow you to trigger zooms on your cinemachine camera by sending MMCameraZoomEvents from any other class

Member Function Documentation

◆ GetDeltaTime()

virtual float MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.GetDeltaTime ( )
virtual

◆ GetTime()

virtual float MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.GetTime ( )
virtual

Member Data Documentation

◆ Channel

int MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.Channel = 0

the channel to listen to - has to match the one on the feedback

◆ ChannelMode

MMChannelModes MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.ChannelMode = MMChannelModes.Int

whether to listen on a channel defined by an int or by a MMChannel scriptable object. Ints are simple to setup but can get messy and make it harder to remember what int corresponds to what. MMChannel scriptable objects require you to create them in advance, but come with a readable name and are more scalable

◆ MMChannelDefinition

MMChannel MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.MMChannelDefinition = null

the MMChannel definition asset to use to listen for events. The feedbacks targeting this shaker will have to reference that same MMChannel definition to receive events - to create a MMChannel, right click anywhere in your project (usually in a Data folder) and go MoreMountains > MMChannel, then name it with some unique name

◆ TestDuration

float MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TestDuration = 0.05f

the duration to apply the zoom in when using the test button in the inspector

◆ TestFieldOfView

float MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TestFieldOfView = 30f

the target field of view to apply the zoom in when using the test button in the inspector

◆ TestMode

MMCameraZoomModes MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TestMode

the mode to apply the zoom in when using the test button in the inspector

◆ TestTransitionDuration

float MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TestTransitionDuration = 0.1f

the transition duration to apply the zoom in when using the test button in the inspector

◆ TestZoomButton

bool MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TestZoomButton

an inspector button to test the zoom in play mode

◆ ZoomTween

MMTweenType MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.ZoomTween = new MMTweenType( new AnimationCurve(new Keyframe(0f, 0f), new Keyframe(1f, 1f)))

the animation curve to apply to the zoom transition

Property Documentation

◆ TimescaleMode

virtual TimescaleModes MoreMountains.FeedbacksForThirdParty.MMCinemachineZoom.TimescaleMode
getset

The documentation for this class was generated from the following file: