Feel  3.16
The best way to improve your game's feel and make it extra juicy
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

override bool HasChannel => true
 
override bool HasRandomness => true
 
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 [get, set]
 sets the inspector color for this feedback More...
 

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

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_CameraShake.HasChannel => true

◆ HasRandomness

override bool MoreMountains.Feedbacks.MMF_CameraShake.HasRandomness => true

◆ 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


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