Core Function SmoothStep

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "<pre> SmoothStep( <value1>, <value2>, <amount> ) </pre> === Description === Interpolates between two values using a cubic equation. === Parameters === ==== value1 ==== Sourc...")
 
m (1 revision)

Revision as of 21:41, 11 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