TopDown Engine v4.5
Loading...
Searching...
No Matches
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
float ClampMinValue = 0f
 the value below which this spring can't go
bool ClampMinInitial = false
 if ClampMin is true, whether or not to use the initial value as the min value
bool ClampMinBounce = false
 whether or not the spring should bounce off the min value or not
bool ClampMax = false
 whether or not to clamp the max value of this spring, preventing it from going above a certain value
float ClampMaxValue = 10f
 the value above which this spring can't go
bool ClampMaxInitial = false
 if ClampMax is true, whether or not to use the initial value as the max value
bool ClampMaxBounce = false
 whether or not the spring should bounce off the max value or not

Properties

bool ClampNeeded [get]

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

Property Documentation

◆ ClampNeeded

bool MoreMountains.Feedbacks.MMSpringClampSettings.ClampNeeded
get

The documentation for this class was generated from the following file:
  • H:/Code/MoreMountains/topdownengine/Assets/TopDownEngine/ThirdParty/MoreMountains/MMFeedbacks/MMFeedbacks/Springs/Core/MMSpringClampSettings.cs