Feel  5.1
The best way to improve your game's feel and make it extra juicy
MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP Class Reference

This feedback allows you to control bloom intensity and threshold over time. It requires you have in your scene an object with a Volume with Bloom active, and a MMBloomShaker_HDRP component. More...

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

Public Member Functions

override void AutomaticShakerSetup ()
 Automaticall sets up the post processing profile and shaker More...
 

Public Attributes

override bool HasChannel => true
 
override bool HasRandomness => true
 
float ShakeDuration = 0.2f
 the duration of the feedback, in seconds More...
 
bool ResetShakerValuesAfterShake = true
 whether or not to reset shaker values after shake More...
 
bool ResetTargetValuesAfterShake = true
 whether or not to reset the target's values after shake More...
 
bool RelativeValues = true
 whether or not to add to the initial intensity More...
 
AnimationCurve ShakeIntensity = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve to animate the intensity on More...
 
float RemapIntensityZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapIntensityOne = 1f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeThreshold = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve to animate the threshold on More...
 
float RemapThresholdZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapThresholdOne = 0f
 the value to remap the curve's 1 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 attenuation=1.0f)
 Triggers a bloom shake 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...
 

Properties

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

Additional Inherited Members

Detailed Description

This feedback allows you to control bloom intensity and threshold over time. It requires you have in your scene an object with a Volume with Bloom active, and a MMBloomShaker_HDRP component.

Member Function Documentation

◆ AutomaticShakerSetup()

override void MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.AutomaticShakerSetup ( )
virtual

Automaticall sets up the post processing profile and shaker

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

Triggers a bloom shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

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

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.FeedbackTypeAuthorized = true
static

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

◆ HasChannel

override bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.HasChannel => true

◆ HasRandomness

override bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.HasRandomness => true

◆ RelativeValues

bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.RelativeValues = true

whether or not to add to the initial intensity

◆ RemapIntensityOne

float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.RemapIntensityOne = 1f

the value to remap the curve's 1 to

◆ RemapIntensityZero

float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.RemapIntensityZero = 0f

the value to remap the curve's 0 to

◆ RemapThresholdOne

float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.RemapThresholdOne = 0f

the value to remap the curve's 1 to

◆ RemapThresholdZero

float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.RemapThresholdZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.ResetTargetValuesAfterShake = true

whether or not to reset the target's values after shake

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.ShakeDuration = 0.2f

the duration of the feedback, in seconds

◆ ShakeIntensity

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.ShakeIntensity = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve to animate the intensity on

◆ ShakeThreshold

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.ShakeThreshold = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve to animate the threshold on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_Bloom_HDRP.FeedbackDuration
getset

sets the inspector color for this feedback

the duration of this feedback is the duration of the shake


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