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


This feedback allows you to control channel mixer's red, green and blue over time.
It requires you have in your scene an object with a Volume
with Channel Mixer active, and a MMChannelMixerShaker_HDRP component.
More...

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

Public Attributes

float ShakeDuration = 1f
 the duration of the shake, in seconds More...
 
bool RelativeIntensity = true
 whether or not to add to the initial intensity 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 ShakeRed = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the red value on More...
 
float RemapRedZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapRedOne = 200f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeGreen = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the green value on More...
 
float RemapGreenZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapGreenOne = 200f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeBlue = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the blue value on More...
 
float RemapBlueZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapBlueOne = 200f
 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 feedbacksIntensity=1.0f)
 Triggers a color adjustments 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 channel mixer's red, green and blue over time.
It requires you have in your scene an object with a Volume
with Channel Mixer active, and a MMChannelMixerShaker_HDRP component.


Member Function Documentation

◆ CustomPlayFeedback()

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

Triggers a color adjustments shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

override void MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_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_ChannelMixer_HDRP.FeedbackTypeAuthorized = true
static

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

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RelativeIntensity = true

whether or not to add to the initial intensity

◆ RemapBlueOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapBlueOne = 200f

the value to remap the curve's 1 to

◆ RemapBlueZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapBlueZero = 0f

the value to remap the curve's 0 to

◆ RemapGreenOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapGreenOne = 200f

the value to remap the curve's 1 to

◆ RemapGreenZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapGreenZero = 0f

the value to remap the curve's 0 to

◆ RemapRedOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapRedOne = 200f

the value to remap the curve's 1 to

◆ RemapRedZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.RemapRedZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ResetTargetValuesAfterShake = true

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

◆ ShakeBlue

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ShakeBlue = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the blue value on

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeGreen

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ShakeGreen = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the green value on

◆ ShakeRed

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_HDRP.ShakeRed = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the red value on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_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_ChannelMixer_HDRP.HasChannel
get

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