Infinite Runner Engine v1.9
Public Types | Public Attributes | Static Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
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 { Toggle , On , Off }
 the possible modes for this feedback More...
 

Public Attributes

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...
 

Protected Attributes

bool _active = false
 
bool _toggle = false
 

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 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.

◆ 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

◆ 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

◆ HasChannel

override bool MoreMountains.Feedbacks.MMF_PPMovingFilter.HasChannel
get

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