TopDown Engine v4.5
Loading...
Searching...
No Matches
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
float TransitionDuration = 1f
 the duration of the transition
MMTweenType Curve = new MMTweenType(MMTween.MMTweenCurve.EaseInCubic)
 the curve to move along to

Static Public Attributes

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

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On custom play, we trigger a MMPostProcessingMovingFilterEvent with the selected parameters.
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

Protected Attributes

bool _active = false
bool _toggle = false

Properties

override float FeedbackDuration [get, set]
 sets the inspector color for this feedback
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 )
protected

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

Parameters
position
feedbacksIntensity

◆ 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

◆ 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:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/MMTools/Feedbacks/MMF_PPMovingFilter.cs