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

This feedback allows you to control bloom intensity and threshold over time. It requires you have in your scene an object with a Volume with Bloom active, and a MMBloomShaker_URP component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP:
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 ShakeRed = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the red value on
float RemapRedZero = 0f
 the value to remap the curve's 0 to
float RemapRedOne = -200f
 the value to remap the curve's 1 to
AnimationCurve ShakeGreen = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the green value on
float RemapGreenZero = 0f
 the value to remap the curve's 0 to
float RemapGreenOne = 200f
 the value to remap the curve's 1 to
AnimationCurve ShakeBlue = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the blue value on
float RemapBlueZero = 0f
 the value to remap the curve's 0 to
float RemapBlueOne = 200f
 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 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 bloom intensity and threshold over time. It requires you have in your scene an object with a Volume with Bloom active, and a MMBloomShaker_URP component.

Member Function Documentation

◆ AutomaticShakerSetup()

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

Automaticall sets up the post processing profile and shaker.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

Triggers a color adjustments shake.

Parameters
position
attenuation

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_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_ChannelMixer_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_ChannelMixer_URP.FeedbackTypeAuthorized = true
static

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

◆ RelativeIntensity

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RelativeIntensity = true

whether or not to add to the initial intensity

◆ RemapBlueOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapBlueOne = 200f

the value to remap the curve's 1 to

◆ RemapBlueZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapBlueZero = 0f

the value to remap the curve's 0 to

◆ RemapGreenOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapGreenOne = 200f

the value to remap the curve's 1 to

◆ RemapGreenZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapGreenZero = 0f

the value to remap the curve's 0 to

◆ RemapRedOne

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapRedOne = -200f

the value to remap the curve's 1 to

◆ RemapRedZero

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.RemapRedZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ResetTargetValuesAfterShake = true

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

◆ ShakeBlue

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ShakeBlue = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the blue value on

◆ ShakeDuration

float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ShakeDuration = 1f

the duration of the shake, in seconds

◆ ShakeGreen

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ShakeGreen = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the green value on

◆ ShakeRed

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.ShakeRed = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the red value on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.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_ChannelMixer_URP.HasChannel
get

◆ HasRandomness

override bool MoreMountains.FeedbacksForThirdParty.MMF_ChannelMixer_URP.HasRandomness
get

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