TopDown Engine v4.5
Loading...
Searching...
No Matches
MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP Class Reference

This feedback allows you to control white balance temperature and tint over time. It requires you have in your scene an object with a Volume with White Balance active, and a MMWhiteBalanceShaker_HDRP component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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 RelativeValues = true
 whether or not to add to the initial value
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 ShakeTemperature = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the temperature value on
float RemapTemperatureZero = 0f
 the value to remap the curve's 0 to
float RemapTemperatureOne = 100f
 the value to remap the curve's 1 to
AnimationCurve ShakeTint = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the tint value on
float RemapTintZero = 0f
 the value to remap the curve's 0 to
float RemapTintOne = 100f
 the value to remap the curve's 1 to

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 white balance 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 white balance temperature and tint over time. It requires you have in your scene an object with a Volume with White Balance active, and a MMWhiteBalanceShaker_HDRP component.

Member Function Documentation

◆ AutomaticShakerSetup()

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

Automaticall sets up the post processing profile and shaker.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

Triggers a white balance shake.

Parameters
position
attenuation

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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_WhiteBalance_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_WhiteBalance_HDRP.FeedbackTypeAuthorized = true
static

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

◆ RelativeValues

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.RelativeValues = true

whether or not to add to the initial value

◆ RemapTemperatureOne

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.RemapTemperatureOne = 100f

the value to remap the curve's 1 to

◆ RemapTemperatureZero

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.RemapTemperatureZero = 0f

the value to remap the curve's 0 to

◆ RemapTintOne

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.RemapTintOne = 100f

the value to remap the curve's 1 to

◆ RemapTintZero

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.RemapTintZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.ResetTargetValuesAfterShake = true

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

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeTemperature

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.ShakeTemperature = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the temperature value on

◆ ShakeTint

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_HDRP.ShakeTint = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the tint value on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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_WhiteBalance_HDRP.HasChannel
get

◆ HasRandomness

override bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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_WhiteBalance_HDRP.cs