Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMF_PPMovingFilter Class Reference

This feedback will trigger a post processing moving filter event, meant to be caught by a MMPostProcessingMovableFilter object More...

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

Public Types

enum  Modes { Modes.Toggle, Modes.On, Modes.Off }
 the possible modes for this feedback More...
 

Public Attributes

override bool HasChannel => true
 
Modes Mode = Modes.Toggle
 the selected mode for this feedback More...
 
float TransitionDuration = 1f
 the duration of the transition More...
 
MMTweenType Curve = new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)
 the curve to move along to 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 custom play, we trigger a MMPostProcessingMovingFilterEvent with the selected parameters More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition More...
 
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position More...
 

Protected Attributes

bool _active = false
 
bool _toggle = false
 

Properties

override float FeedbackDuration [get, set]
 sets the inspector color for this feedback More...
 

Additional Inherited Members

Detailed Description

This feedback will trigger a post processing moving filter event, meant to be caught by a MMPostProcessingMovableFilter object

Member Enumeration Documentation

◆ Modes

the possible modes for this feedback

Enumerator
Toggle 
On 
Off 

Member Function Documentation

◆ CustomPlayFeedback()

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

On custom play, we trigger a MMPostProcessingMovingFilterEvent with the selected parameters

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

override void MoreMountains.Feedbacks.MMF_PPMovingFilter.CustomRestoreInitialValues ( )
protectedvirtual

On restore, we put our object back at its initial position

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.Feedbacks.MMF_PPMovingFilter.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

◆ _active

bool MoreMountains.Feedbacks.MMF_PPMovingFilter._active = false
protected

◆ _toggle

bool MoreMountains.Feedbacks.MMF_PPMovingFilter._toggle = false
protected

◆ Curve

MMTweenType MoreMountains.Feedbacks.MMF_PPMovingFilter.Curve = new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)

the curve to move along to

◆ FeedbackTypeAuthorized

bool MoreMountains.Feedbacks.MMF_PPMovingFilter.FeedbackTypeAuthorized = true
static

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

◆ HasChannel

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

◆ Mode

Modes MoreMountains.Feedbacks.MMF_PPMovingFilter.Mode = Modes.Toggle

the selected mode for this feedback

◆ TransitionDuration

float MoreMountains.Feedbacks.MMF_PPMovingFilter.TransitionDuration = 1f

the duration of the transition

Property Documentation

◆ FeedbackDuration

override float MoreMountains.Feedbacks.MMF_PPMovingFilter.FeedbackDuration
getset

sets the inspector color for this feedback

the duration of this feedback is the duration of the transition


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