Core Function SmoothStep

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
UberFoX (Talk | contribs)
(Created page with "<pre> SmoothStep( <value1>, <value2>, <amount> ) </pre> === Description === Interpolates between two values using a cubic equation. === Parameters === ==== value1 ==== Sourc...")
Newer edit →

Revision as of 13:56, 10 August 2014

SmoothStep( <value1>, <value2>, <amount> )

Contents

Description

Interpolates between two values using a cubic equation.

Parameters

value1

Source value1.

value2

Source value2.

amount

Weighting factor.

Return Value

Interpolated value.

Remarks

None.

Example

say SmoothStep(30, 20, 10); // 17030
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox