Infinite Runner Engine v1.9
Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
MoreMountains.Feedbacks.MMF_CameraZoom Class Reference

A feedback that will allow you to change the zoom of a (3D) camera when played More...

Inheritance diagram for MoreMountains.Feedbacks.MMF_CameraZoom:
MoreMountains.Feedbacks.MMF_Feedback

Public Attributes

MMCameraZoomModes ZoomMode = MMCameraZoomModes.For
 the zoom mode (for : forward for TransitionDuration, static for Duration, backwards for TransitionDuration) More...
 
float ZoomFieldOfView = 30f
 the target field of view More...
 
float ZoomTransitionDuration = 0.05f
 the zoom transition duration More...
 
float ZoomDuration = 0.1f
 the duration for which the zoom is at max zoom More...
 
bool RelativeFieldOfView = false
 whether or not ZoomFieldOfView should add itself to the current camera's field of view value More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 a static bool used to disable all feedbacks of this type at once More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On Play, triggers a zoom event More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition More...
 

Properties

override float FeedbackDuration [getset]
 sets the inspector color for this feedback More...
 
override bool HasChannel [get]
 

Additional Inherited Members

Detailed Description

A feedback that will allow you to change the zoom of a (3D) camera when played

Member Function Documentation

◆ CustomPlayFeedback()

override void MoreMountains.Feedbacks.MMF_CameraZoom.CustomPlayFeedback ( Vector3  position,
float  feedbacksIntensity = 1.0f 
)
protectedvirtual

On Play, triggers a zoom event

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.Feedbacks.MMF_CameraZoom.CustomStopFeedback ( Vector3  position,
float  feedbacksIntensity = 1 
)
protectedvirtual

On stop we stop our transition

Parameters
position
feedbacksIntensity

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_CameraZoom.FeedbackTypeAuthorized = true
static

a static bool used to disable all feedbacks of this type at once

◆ RelativeFieldOfView

bool MoreMountains.Feedbacks.MMF_CameraZoom.RelativeFieldOfView = false

whether or not ZoomFieldOfView should add itself to the current camera's field of view value

◆ ZoomDuration

float MoreMountains.Feedbacks.MMF_CameraZoom.ZoomDuration = 0.1f

the duration for which the zoom is at max zoom

◆ ZoomFieldOfView

float MoreMountains.Feedbacks.MMF_CameraZoom.ZoomFieldOfView = 30f

the target field of view

◆ ZoomMode

MMCameraZoomModes MoreMountains.Feedbacks.MMF_CameraZoom.ZoomMode = MMCameraZoomModes.For

the zoom mode (for : forward for TransitionDuration, static for Duration, backwards for TransitionDuration)

◆ ZoomTransitionDuration

float MoreMountains.Feedbacks.MMF_CameraZoom.ZoomTransitionDuration = 0.05f

the zoom transition duration

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_CameraZoom.FeedbackDuration
getset

sets the inspector color for this feedback

the duration of this feedback is the duration of the zoom

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_CameraZoom.HasChannel
get

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