Infinite Runner Engine v1.9
Public Attributes | Static Public Attributes | Protected Member Functions | Properties | List of all members
MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP Class Reference

This feedback allows you to control HDRP Film Grain intensity over time. It requires you have in your scene an object with a Volume with Film Grain active, and a MMFilmGrainShaker_HDRP component. More...

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

Public Attributes

float Duration = 0.2f
 the duration of the shake, 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...
 
AnimationCurve Intensity = 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 zero to More...
 
float RemapIntensityOne = 1.0f
 the value to remap the curve's one to More...
 
bool RelativeIntensity = false
 whether or not to add to the initial intensity 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)
 Triggers a Film Grain shake More...
 
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition More...
 

Properties

override float FeedbackDuration [getset]
 sets the inspector color for this feedback More...
 
override bool HasChannel [get]
 

Additional Inherited Members

Detailed Description

This feedback allows you to control HDRP Film Grain intensity over time. It requires you have in your scene an object with a Volume with Film Grain active, and a MMFilmGrainShaker_HDRP component.

Member Function Documentation

◆ CustomPlayFeedback()

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

Triggers a Film Grain shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

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

◆ Duration

float MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.Duration = 0.2f

the duration of the shake, in seconds

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.FeedbackTypeAuthorized = true
static

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

◆ Intensity

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.Intensity = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve to animate the intensity on

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.RelativeIntensity = false

whether or not to add to the initial intensity

◆ RemapIntensityOne

float MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.RemapIntensityOne = 1.0f

the value to remap the curve's one to

◆ RemapIntensityZero

float MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.RemapIntensityZero = 0f

the value to remap the curve's zero to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.ResetTargetValuesAfterShake = true

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

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.FeedbackDuration
getset

sets the inspector color for this feedback

the duration of this feedback is the duration of the shake

◆ HasChannel

override bool MoreMountains.FeedbacksForThirdParty.MMF_FilmGrain_HDRP.HasChannel
get

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