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

This feedback allows you to control color grading post exposure, hue shift, saturation and contrast over time. It requires you have in your scene an object with a PostProcessVolume with Color Grading active, and a MMColorGradingShaker component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading:
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...
 

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 grading 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 grading post exposure, hue shift, saturation and contrast over time. It requires you have in your scene an object with a PostProcessVolume with Color Grading active, and a MMColorGradingShaker component.

Member Function Documentation

◆ CustomPlayFeedback()

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

Triggers a color grading shake

Parameters
position
feedbacksIntensity

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomStopFeedback()

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

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

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RelativeIntensity = true

whether or not to add to the initial intensity

◆ RemapContrastOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapContrastOne = 100f

the value to remap the curve's 1 to

◆ RemapContrastZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapContrastZero = 0f

the value to remap the curve's 0 to

◆ RemapHueShiftOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapHueShiftOne = 180f

the value to remap the curve's 1 to

◆ RemapHueShiftZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapHueShiftZero = 0f

the value to remap the curve's 0 to

◆ RemapPostExposureOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapPostExposureOne = 1f

the value to remap the curve's 1 to

◆ RemapPostExposureZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapPostExposureZero = 0f

the value to remap the curve's 0 to

◆ RemapSaturationOne

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapSaturationOne = 100f

the value to remap the curve's 1 to

◆ RemapSaturationZero

float MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.RemapSaturationZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.ResetTargetValuesAfterShake = true

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

◆ ShakeContrast

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

the duration of the shake, in seconds

◆ ShakeHueShift

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ColorGrading.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_ColorGrading.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_ColorGrading.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_ColorGrading.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_ColorGrading.HasChannel
get

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