TopDown Engine v4.5
Loading...
Searching...
No Matches
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 Member Functions

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

Public Attributes

float ShakeDuration = 1f
 the duration of the shake, in seconds
bool RelativeIntensity = true
 whether or not to add to the initial intensity
bool ResetShakerValuesAfterShake = true
 whether or not to reset shaker values after shake
bool ResetTargetValuesAfterShake = true
 whether or not to reset the target's values after shake
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
float RemapPostExposureZero = 0f
 the value to remap the curve's 0 to
float RemapPostExposureOne = 1f
 the value to remap the curve's 1 to
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
float RemapHueShiftZero = 0f
 the value to remap the curve's 0 to
float RemapHueShiftOne = 180f
 the value to remap the curve's 1 to
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
float RemapSaturationZero = 0f
 the value to remap the curve's 0 to
float RemapSaturationOne = 100f
 the value to remap the curve's 1 to
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
float RemapContrastZero = 0f
 the value to remap the curve's 0 to
float RemapContrastOne = 100f
 the value to remap the curve's 1 to
MMColorAdjustmentsShaker_HDRP.ColorFilterModes ColorFilterMode = MMColorAdjustmentsShaker_HDRP.ColorFilterModes.None
Gradient ColorFilterGradient
 the gradient to use to animate the color filter over time
Color ColorFilterDestination = Color.yellow
 the destination color when in interpolate mode
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

Static Public Attributes

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

Protected Member Functions

override void CustomPlayFeedback (Vector3 position, float feedbacksIntensity=1.0f)
 Triggers a color adjustments shake.
override void CustomStopFeedback (Vector3 position, float feedbacksIntensity=1)
 On stop we stop our transition.
override void CustomRestoreInitialValues ()
 On restore, we put our object back at its initial position.

Properties

override float FeedbackDuration [get, set]
 sets the inspector color for this feedback
override bool HasChannel [get]
override bool HasRandomness [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

◆ AutomaticShakerSetup()

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

Automaticall sets up the post processing profile and shaker.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

override void MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.CustomPlayFeedback ( Vector3 position,
float feedbacksIntensity = 1::0f )
protected

Triggers a color adjustments shake.

Parameters
position
attenuation

◆ CustomRestoreInitialValues()

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

◆ HasRandomness

override bool MoreMountains.FeedbacksForThirdParty.MMF_ColorAdjustments_HDRP.HasRandomness
get

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacksForThirdParty/HDRP/Feedbacks/MMF_ColorAdjustments_HDRP.cs