Feel  3.16
The best way to improve your game's feel and make it extra juicy
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 Attributes

override bool HasChannel => true
 
override bool HasRandomness => true
 
float Duration = 0.2f
 the duration of the shake, in seconds 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...
 
bool AnimateFocusDistance = true
 whether or not to animate the focus distance More...
 
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 More...
 
float RemapFocusDistanceZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapFocusDistanceOne = 3f
 the value to remap the curve's 1 to More...
 
bool AnimateNearRangeStart = false
 whether or not to animate the near range start More...
 
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 More...
 
float RemapNearRangeStartZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapNearRangeStartOne = 3f
 the value to remap the curve's 1 to More...
 
bool AnimateNearRangeEnd = false
 whether or not to animate the near range end More...
 
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 More...
 
float RemapNearRangeEndZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapNearRangeEndOne = 3f
 the value to remap the curve's 1 to More...
 
bool AnimateFarRangeStart = false
 whether or not to animate the far range start More...
 
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 More...
 
float RemapFarRangeStartZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapFarRangeStartOne = 3f
 the value to remap the curve's 1 to More...
 
bool AnimateFarRangeEnd = false
 whether or not to animate the far range end More...
 
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 More...
 
float RemapFarRangeEndZero = 0f
 the value to remap the curve's 0 to More...
 
float RemapFarRangeEndOne = 3f
 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 vignette 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 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

◆ CustomPlayFeedback()

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

Triggers a vignette shake

Parameters
position
attenuation

Implements MoreMountains.Feedbacks.MMF_Feedback.

◆ 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

◆ HasChannel

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

◆ HasRandomness

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

◆ 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


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