Feel  4.3
The best way to improve your game's feel and make it extra juicy
MoreMountains.Feedbacks.MMSpringClampSettings Class Reference

Public Member Functions

virtual float GetTargetValue (float value, float initialValue)
 

Public Attributes

bool ClampMin = false
 whether or not to clamp the min value of this spring, preventing it from going below a certain value More...
 
float ClampMinValue = 0f
 the value below which this spring can't go More...
 
bool ClampMinInitial = false
 if ClampMin is true, whether or not to use the initial value as the min value More...
 
bool ClampMinBounce = false
 whether or not the spring should bounce off the min value or not More...
 
bool ClampMax = false
 whether or not to clamp the max value of this spring, preventing it from going above a certain value More...
 
float ClampMaxValue = 10f
 the value above which this spring can't go More...
 
bool ClampMaxInitial = false
 if ClampMax is true, whether or not to use the initial value as the max value More...
 
bool ClampMaxBounce = false
 whether or not the spring should bounce off the max value or not More...
 
bool ClampNeeded => ClampMin || ClampMax || ClampMinBounce || ClampMaxBounce
 

Member Function Documentation

◆ GetTargetValue()

virtual float MoreMountains.Feedbacks.MMSpringClampSettings.GetTargetValue ( float  value,
float  initialValue 
)
virtual

Member Data Documentation

◆ ClampMax

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMax = false

whether or not to clamp the max value of this spring, preventing it from going above a certain value

◆ ClampMaxBounce

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMaxBounce = false

whether or not the spring should bounce off the max value or not

◆ ClampMaxInitial

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMaxInitial = false

if ClampMax is true, whether or not to use the initial value as the max value

◆ ClampMaxValue

float MoreMountains.Feedbacks.MMSpringClampSettings.ClampMaxValue = 10f

the value above which this spring can't go

◆ ClampMin

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMin = false

whether or not to clamp the min value of this spring, preventing it from going below a certain value

◆ ClampMinBounce

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMinBounce = false

whether or not the spring should bounce off the min value or not

◆ ClampMinInitial

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampMinInitial = false

if ClampMin is true, whether or not to use the initial value as the min value

◆ ClampMinValue

float MoreMountains.Feedbacks.MMSpringClampSettings.ClampMinValue = 0f

the value below which this spring can't go

◆ ClampNeeded

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampNeeded => ClampMin || ClampMax || ClampMinBounce || ClampMaxBounce

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