Feel  3.16
The best way to improve your game's feel and make it extra juicy
MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP 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_URP component. More...

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

Public Attributes

override bool HasChannel => true
 
override bool HasRandomness => true
 
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_URP.ColorFilterModes ColorFilterMode = MMColorAdjustmentsShaker_URP.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...
 
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 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_URP component.

Member Function Documentation

◆ CustomPlayFeedback()

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

Triggers a color adjustments shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.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_ColorAdjustments_URP.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_URP.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_URP.ColorFilterDestination = Color.yellow

the destination color when in interpolate mode

◆ ColorFilterGradient

Gradient MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.ColorFilterGradient

the gradient to use to animate the color filter over time

◆ ColorFilterMode

MMColorAdjustmentsShaker_URP.ColorFilterModes MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.ColorFilterMode = MMColorAdjustmentsShaker_URP.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_URP.FeedbackTypeAuthorized = true
static

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

◆ HasChannel

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

◆ HasRandomness

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

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RelativeIntensity = true

whether or not to add to the initial intensity

◆ RemapContrastOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapContrastOne = 100f

the value to remap the curve's 1 to

◆ RemapContrastZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapContrastZero = 0f

the value to remap the curve's 0 to

◆ RemapHueShiftOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapHueShiftOne = 180f

the value to remap the curve's 1 to

◆ RemapHueShiftZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapHueShiftZero = 0f

the value to remap the curve's 0 to

◆ RemapPostExposureOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapPostExposureOne = 1f

the value to remap the curve's 1 to

◆ RemapPostExposureZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapPostExposureZero = 0f

the value to remap the curve's 0 to

◆ RemapSaturationOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapSaturationOne = 100f

the value to remap the curve's 1 to

◆ RemapSaturationZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.RemapSaturationZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.ResetTargetValuesAfterShake = true

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

◆ ShakeContrast

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.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_URP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeHueShift

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_URP.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_URP.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_URP.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_URP.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: