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

This feedback allows you to control color adjustments' post exposure, hue shift, saturation and contrast over time. It requires you have in your scene an object with a Volume with Color Adjustments active, and a MMColorAdjustmentsShaker_HDRP component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_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 ShakePostExposure = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the focus distance value on More...
 
float RemapPostExposureZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapPostExposureOne = 1f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeHueShift = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the aperture value on More...
 
float RemapHueShiftZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapHueShiftOne = 180f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeSaturation = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the focal length value on More...
 
float RemapSaturationZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapSaturationOne = 100f
 the value to remap the curve's 1 to More...
 
AnimationCurve ShakeContrast = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the focal length value on More...
 
float RemapContrastZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapContrastOne = 100f
 the value to remap the curve's 1 to More...
 
MMColorAdjustmentsShaker_HDRP.ColorFilterModes ColorFilterMode = MMColorAdjustmentsShaker_HDRP.ColorFilterModes.None
 
Gradient ColorFilterGradient
 the gradient to use to animate the color filter over time More...
 
Color ColorFilterDestination = Color.yellow
 the destination color when in interpolate mode More...
 
AnimationCurve ColorFilterCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve to use when interpolating towards the destination color 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 color adjustments' post exposure, hue shift, saturation and contrast over time. It requires you have in your scene an object with a Volume with Color Adjustments active, and a MMColorAdjustmentsShaker_HDRP component.

Member Function Documentation

◆ CustomPlayFeedback()

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

◆ ColorFilterCurve

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ColorFilterCurve = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve to use when interpolating towards the destination color

◆ ColorFilterDestination

Color MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ColorFilterDestination = Color.yellow

the destination color when in interpolate mode

◆ ColorFilterGradient

Gradient MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ColorFilterGradient

the gradient to use to animate the color filter over time

◆ ColorFilterMode

MMColorAdjustmentsShaker_HDRP.ColorFilterModes MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ColorFilterMode = MMColorAdjustmentsShaker_HDRP.ColorFilterModes.None

the selected color filter mode : None : nothing will happen, gradient : evaluates the color over time on that gradient, from left to right, interpolate : lerps from the current color to the destination one

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.FeedbackTypeAuthorized = true
static

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

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RelativeIntensity = true

whether or not to add to the initial intensity

◆ RemapContrastOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapContrastOne = 100f

the value to remap the curve's 1 to

◆ RemapContrastZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapContrastZero = 0f

the value to remap the curve's 0 to

◆ RemapHueShiftOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapHueShiftOne = 180f

the value to remap the curve's 1 to

◆ RemapHueShiftZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapHueShiftZero = 0f

the value to remap the curve's 0 to

◆ RemapPostExposureOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapPostExposureOne = 1f

the value to remap the curve's 1 to

◆ RemapPostExposureZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapPostExposureZero = 0f

the value to remap the curve's 0 to

◆ RemapSaturationOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapSaturationOne = 100f

the value to remap the curve's 1 to

◆ RemapSaturationZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.RemapSaturationZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ResetTargetValuesAfterShake = true

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

◆ ShakeContrast

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ShakeContrast = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the focal length value on

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeHueShift

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ShakeHueShift = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the aperture value on

◆ ShakePostExposure

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ShakePostExposure = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the focus distance value on

◆ ShakeSaturation

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.ShakeSaturation = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the focal length value on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_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_ColorAdjustments_HDRP.HasChannel
get

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