FSpeedTreeWind::LinearSigmoid

Converts an input value (_fInput_) in the range [0.0, 1.0] to an s-curve. The parameter _fLinearness_ flattens out the s-curve where 0.0 = s-curve and 1.0 = linear.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SpeedTreeWind.h

Include

#include "SpeedTreeWind.h"

Source

/Engine/Source/Runtime/Engine/Private/SpeedTreeWind.cpp

Syntax

float LinearSigmoid
(
    float fInput,
    float fLinearness
)

Remarks

Converts an input value (fInput) in the range [0.0, 1.0] to an s-curve. The parameter fLinearness flattens out the s-curve where 0.0 = s-curve and 1.0 = linear.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss