TopDown Engine  v3.6
MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP 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_URP component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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 RelativeValues = true
 whether or not to add to the initial value 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 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 More...
 
float RemapTemperatureZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapTemperatureOne = 100f
 the value to remap the curve's 1 to More...
 
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 More...
 
float RemapTintZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapTintOne = 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 white balance 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 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_URP component.

Member Function Documentation

◆ CustomPlayFeedback()

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

Triggers a white balance shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_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_WhiteBalance_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

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.FeedbackTypeAuthorized = true
static

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

◆ HasChannel

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

◆ HasRandomness

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

◆ RelativeValues

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.RelativeValues = true

whether or not to add to the initial value

◆ RemapTemperatureOne

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.RemapTemperatureOne = 100f

the value to remap the curve's 1 to

◆ RemapTemperatureZero

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.RemapTemperatureZero = 0f

the value to remap the curve's 0 to

◆ RemapTintOne

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.RemapTintOne = 100f

the value to remap the curve's 1 to

◆ RemapTintZero

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.RemapTintZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.ResetTargetValuesAfterShake = true

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

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_WhiteBalance_URP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeTemperature

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