Core Function SmoothStep

From Sputnik Wiki
Jump to: navigation, search
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