MathHelperSmoothStep Method |
Interpolates between two values using a cubic equation.
Namespace:
SampSharp.Entities.SAMP
Assembly:
SampSharp.Entities (in SampSharp.Entities.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntaxpublic static float SmoothStep(
float value1,
float value2,
float amount
)
Parameters
- value1
- Type: SystemSingle
Source value. - value2
- Type: SystemSingle
Source value. - amount
- Type: SystemSingle
Weighting value.
Return Value
Type:
SingleInterpolated value.
See Also