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

This feedback will send a shake event when played More...

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

Public Attributes

bool RepeatUntilStopped = false
 whether or not this shake should repeat forever, until stopped More...
 
MMCameraShakeProperties CameraShakeProperties = new MMCameraShakeProperties(0.1f, 0.2f, 40f)
 the properties of the shake (duration, intensity, frequenc) 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, sends a shake camera event More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 This method describes what happens when the feedback gets stopped More...
 

Properties

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

Additional Inherited Members

Detailed Description

This feedback will send a shake event when played

Member Function Documentation

◆ CustomPlayFeedback()

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

On Play, sends a shake camera event

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

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

This method describes what happens when the feedback gets stopped

Parameters
position
feedbacksIntensity

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

Member Data Documentation

◆ CameraShakeProperties

MMCameraShakeProperties MoreMountains.Feedbacks.MMF_CameraShake.CameraShakeProperties = new MMCameraShakeProperties(0.1f, 0.2f, 40f)

the properties of the shake (duration, intensity, frequenc)

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_CameraShake.FeedbackTypeAuthorized = true
static

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

◆ RepeatUntilStopped

bool MoreMountains.Feedbacks.MMF_CameraShake.RepeatUntilStopped = false

whether or not this shake should repeat forever, until stopped

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_CameraShake.FeedbackDuration
getset

sets the inspector color for this feedback

the duration of this feedback is the duration of the shake

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_CameraShake.HasChannel
get

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