Infinite Runner Engine v1.9
Public Types | Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
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 More...
 
Modes Mode = Modes.Default
 the chosen mode More...
 
Actions BlendAction = Actions.Blend
 the chosen action when in default mode More...
 
float BlendDuration = 1f
 the duration of the blend, in seconds when in override mode More...
 
AnimationCurve BlendCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(1, 1f))
 the curve to apply to the blend More...
 
float InitialWeight = 0f
 the weight to blend from More...
 
float FinalWeight = 1f
 the weight to blend to More...
 
bool ResetToInitialValueOnEnd = true
 whether or not to reset to the initial value at the end of the shake More...
 

Static Public Attributes

static bool FeedbackTypeAuthorized = true
 sets the inspector color for this feedback More...
 

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 On custom play, triggers a blend on the target blender, overriding its settings if needed More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition More...
 

Properties

override float FeedbackDuration [get]
 defines the duration of the feedback More...
 

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

◆ CustomPlayFeedback()

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

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

Parameters
position
feedbacksIntensity

Implements 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

sets the inspector color for this feedback

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


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