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

This feedback allows you to control HDRP Depth of Field focus distance or near/far ranges over time. It requires you have in your scene an object with a Volume with Depth of Field active, and a MMDepthOfFieldShaker_HDRP component. More...

Inheritance diagram for MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP:
MoreMountains.Feedbacks.MMF_Feedback

Public Member Functions

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

Public Attributes

float Duration = 0.2f
 the duration of the shake, in seconds
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
bool AnimateFocusDistance = true
 whether or not to animate the focus distance
AnimationCurve ShakeFocusDistance = 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 RemapFocusDistanceZero = 0f
 the value to remap the curve's 0 to
float RemapFocusDistanceOne = 3f
 the value to remap the curve's 1 to
bool AnimateNearRangeStart = false
 whether or not to animate the near range start
AnimationCurve ShakeNearRangeStart = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the near range start on
float RemapNearRangeStartZero = 0f
 the value to remap the curve's 0 to
float RemapNearRangeStartOne = 3f
 the value to remap the curve's 1 to
bool AnimateNearRangeEnd = false
 whether or not to animate the near range end
AnimationCurve ShakeNearRangeEnd = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the near range end on
float RemapNearRangeEndZero = 0f
 the value to remap the curve's 0 to
float RemapNearRangeEndOne = 3f
 the value to remap the curve's 1 to
bool AnimateFarRangeStart = false
 whether or not to animate the far range start
AnimationCurve ShakeFarRangeStart = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the far range start on
float RemapFarRangeStartZero = 0f
 the value to remap the curve's 0 to
float RemapFarRangeStartOne = 3f
 the value to remap the curve's 1 to
bool AnimateFarRangeEnd = false
 whether or not to animate the far range end
AnimationCurve ShakeFarRangeEnd = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))
 the curve used to animate the far range end on
float RemapFarRangeEndZero = 0f
 the value to remap the curve's 0 to
float RemapFarRangeEndOne = 3f
 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 vignette 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 HDRP Depth of Field focus distance or near/far ranges over time. It requires you have in your scene an object with a Volume with Depth of Field active, and a MMDepthOfFieldShaker_HDRP component.

Member Function Documentation

◆ AutomaticShakerSetup()

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

Automaticall sets up the post processing profile and shaker.

Reimplemented from MoreMountains.Feedbacks.MMF_Feedback.

◆ CustomPlayFeedback()

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

Triggers a vignette shake.

Parameters
position
attenuation

◆ CustomRestoreInitialValues()

override void MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_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_DepthOfField_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

◆ AnimateFarRangeEnd

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.AnimateFarRangeEnd = false

whether or not to animate the far range end

◆ AnimateFarRangeStart

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.AnimateFarRangeStart = false

whether or not to animate the far range start

◆ AnimateFocusDistance

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.AnimateFocusDistance = true

whether or not to animate the focus distance

◆ AnimateNearRangeEnd

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.AnimateNearRangeEnd = false

whether or not to animate the near range end

◆ AnimateNearRangeStart

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.AnimateNearRangeStart = false

whether or not to animate the near range start

◆ Duration

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.Duration = 0.2f

the duration of the shake, in seconds

◆ FeedbackTypeAuthorized

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.FeedbackTypeAuthorized = true
static

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

◆ RemapFarRangeEndOne

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFarRangeEndOne = 3f

the value to remap the curve's 1 to

◆ RemapFarRangeEndZero

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFarRangeEndZero = 0f

the value to remap the curve's 0 to

◆ RemapFarRangeStartOne

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFarRangeStartOne = 3f

the value to remap the curve's 1 to

◆ RemapFarRangeStartZero

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFarRangeStartZero = 0f

the value to remap the curve's 0 to

◆ RemapFocusDistanceOne

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFocusDistanceOne = 3f

the value to remap the curve's 1 to

◆ RemapFocusDistanceZero

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapFocusDistanceZero = 0f

the value to remap the curve's 0 to

◆ RemapNearRangeEndOne

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapNearRangeEndOne = 3f

the value to remap the curve's 1 to

◆ RemapNearRangeEndZero

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapNearRangeEndZero = 0f

the value to remap the curve's 0 to

◆ RemapNearRangeStartOne

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapNearRangeStartOne = 3f

the value to remap the curve's 1 to

◆ RemapNearRangeStartZero

float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.RemapNearRangeStartZero = 0f

the value to remap the curve's 0 to

◆ ResetShakerValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ResetShakerValuesAfterShake = true

whether or not to reset shaker values after shake

◆ ResetTargetValuesAfterShake

bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ResetTargetValuesAfterShake = true

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

◆ ShakeFarRangeEnd

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ShakeFarRangeEnd = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the far range end on

◆ ShakeFarRangeStart

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ShakeFarRangeStart = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the far range start on

◆ ShakeFocusDistance

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ShakeFocusDistance = 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

◆ ShakeNearRangeEnd

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ShakeNearRangeEnd = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the near range end on

◆ ShakeNearRangeStart

AnimationCurve MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_HDRP.ShakeNearRangeStart = new AnimationCurve(new Keyframe(0, 0), new Keyframe(0.5f, 1), new Keyframe(1, 0))

the curve used to animate the near range start on

Property Documentation

◆ FeedbackDuration

override float MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_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_DepthOfField_HDRP.HasChannel
get

◆ HasRandomness

override bool MoreMountains.FeedbacksForThirdParty.MMF_DepthOfField_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_DepthOfField_HDRP.cs