TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend Class Reference

This feedback will let you pilot a Global PostProcessing Volume AutoBlend component. A GPPVAB component is placed on a PostProcessing Volume, and will let you control and blend its weight over time on demand. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend:
MoreMountains.Feedbacks.MMF_Feedback

Public Types

enum  Modes { Default , Override }
enum  Actions { Blend , BlendBack }
 the possible actions when in Default mode More...

Public Attributes

MMGlobalPostProcessingVolumeAutoBlend TargetAutoBlend
 the target auto blend to pilot with this feedback
Modes Mode = Modes.Default
 the chosen mode
Actions BlendAction = Actions.Blend
 the chosen action when in default mode
float BlendDuration = 1f
 the duration of the blend, in seconds when in override mode
AnimationCurve BlendCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1f))
 the curve to apply to the blend
float InitialWeight = 0f
 the weight to blend from
float FinalWeight = 1f
 the weight to blend to
bool ResetToInitialValueOnEnd = true
 whether or not to reset to the initial value at the end of the shake

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 AutomateTargetAcquisition ()
 A method meant to be implemented per feedback letting you specify what happens (usually setting a target)
override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On custom play, triggers a blend on the target blender, overriding its settings if needed.
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.

Properties

override bool HasAutomatedTargetAcquisition [get]
 sets the inspector color for this feedback
override bool HasChannel [get]
override float FeedbackDuration [get]
 defines the duration of the feedback

Additional Inherited Members

Detailed Description

This feedback will let you pilot a Global PostProcessing Volume AutoBlend component. A GPPVAB component is placed on a PostProcessing Volume, and will let you control and blend its weight over time on demand.

Member Enumeration Documentation

◆ Actions

the possible actions when in Default mode

Enumerator
Blend 
BlendBack 

◆ Modes

the possible modes for this feedback :

  • default : will let you trigger Blend() and BlendBack() on the blender
  • override : lets you specify new initial, final, duration and curve values on the blender, and triggers a Blend()
Enumerator
Default 
Override 

Member Function Documentation

◆ AutomateTargetAcquisition()

override void MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.AutomateTargetAcquisition ( )
protectedvirtual

A method meant to be implemented per feedback letting you specify what happens (usually setting a target)

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

override void MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.CustomPlayFeedback ( Vector3 position,
float feedbacksIntensity = 1::0f )
protected

On custom play, triggers a blend on the target blender, overriding its settings if needed.

Parameters
position
feedbacksIntensity

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.CustomRestoreInitialValues ( )
protectedvirtual

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

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.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

◆ BlendAction

Actions MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.BlendAction = Actions.Blend

the chosen action when in default mode

◆ BlendCurve

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.BlendCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1f))

the curve to apply to the blend

◆ BlendDuration

float MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.BlendDuration = 1f

the duration of the blend, in seconds when in override mode

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.FeedbackTypeAuthorized = true
static

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

◆ FinalWeight

float MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.FinalWeight = 1f

the weight to blend to

◆ InitialWeight

float MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.InitialWeight = 0f

the weight to blend from

◆ Mode

Modes MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.Mode = Modes.Default

the chosen mode

◆ ResetToInitialValueOnEnd

bool MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.ResetToInitialValueOnEnd = true

whether or not to reset to the initial value at the end of the shake

◆ TargetAutoBlend

MMGlobalPostProcessingVolumeAutoBlend MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.TargetAutoBlend

the target auto blend to pilot with this feedback

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.FeedbackDuration
get

defines the duration of the feedback

◆ HasAutomatedTargetAcquisition

override bool MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.HasAutomatedTargetAcquisition
get

sets the inspector color for this feedback

◆ HasChannel

override bool MoreMountains.FeedbacksForThirdParty.MMF_GlobalPPVolumeAutoBlend.HasChannel
get

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/PostProcessing/Feedbacks/MMF_GlobalPPVolumeAutoBlend.cs