Menu
Lumberyard
Legacy Reference

Interpolate Nodes

Flow Graph is deprecated and will be removed in a future version of Lumberyard. Learn about Script Canvas, Lumberyard's new visual scripting environment.

This topic references tools and features that are legacy. If you want to use legacy tools in Lumberyard Editor, disable the CryEntity Removal gem using the Project Configurator or the command line. To learn about the latest features, see the Amazon Lumberyard User Guide.

You can use these flow graph nodes to configure interpolate-related settings.

Color node

Used to linearly calculate from an initial color value to an end color value within a given time frame.

Inputs

Port Type Description
Start Any Starts interpolation
Stop Any Stops interpolation
StartValue Vec3 Starting value for color
EndValue Vec3 Ending value for color
Time Float Interpolation duration in seconds
UpdateFrequency Float Interpolation update frequency in seconds. 0 = every frame

Outputs

Port Type Description
Value Vec3 Current value
Done Any Triggered when finished

Float node

Used to linearly calculate from an initial floating point value to an end floating point value within a given time frame.

Inputs

Port Type Description
Start Any Starts interpolation
Stop Any Stops interpolation
StartValue Float Starting value for floating point
EndValue Float Ending value for floating point
Time Float Interpolation duration in seconds
UpdateFrequency Float Interpolation update frequency in seconds. 0 = every frame

Outputs

Port Type Description
Value Float Current value
Done Any Triggered when finished

Int node

Used to linearly calculate from an initial integer value to an end integer value within a given time frame.

Input

Port Type Description
Start Any Starts interpolation
Stop Any Stops interpolation
StartValue Integer Starting value for integer
EndValue Integer Ending value for integer
Time Float Interpolation duration in seconds
UpdateFrequency Float Interpolation update frequency in seconds. 0 = every frame

Outputs

Port Type Description
Value Integer Current value
Done Any Triggered when finished

SmoothAngleVec3

Used to non-linearly (damped spring system) calculate from an initial vector angle to an end vector angle within a given time frame. Calculation will slow down as it reaches the end value.

Inputs

Port Type Description
Activate Any Triggers the node
InitialValue Vec3 Initial interpolation value for vector angle
TargetValue Vec3 Target interpolation value for vector angle
Time Float Interpolation duration in seconds

Outputs

Port Type Description
Value Vec3 Current value
Done Any Triggered when finished

SmoothColor node

Used to non-linearly (damped spring system) calculate from an initial color value to an end color value within a given time frame. Calculation will slow down as it reaches the end value.

Inputs

Port Type Description
Activate Any Triggers the node
InitialValue Vec3 Initial interpolation value for color
TargetValue Vec3 Target interpolation value for color
Time Float Interpolation duration in seconds

Outputs

Port Type Description
Value Vec3 Current value
Done Any Triggered when finished

SmoothFloat node

Used to non-linearly (damped spring system) calculate from an initial floating point value to an end floating point value within a given time frame. Calculation will slow down as it reaches the end value.

Inputs

Port Type Description
Activate Any Triggers the node
InitialValue Float Initial interpolation value for floating point
TargetValue Float Target interpolation value for floating point
Time Float Interpolation duration in seconds

Outputs

Port Type Description
Value Float Current value
Done Any Triggered when finished

SmoothInt node

Used to non-linearly (damped spring system) calculate from an initial integer value to an end integer value within a given time frame. Calculation will slow down as it reaches the end value.

Inputs

Port Type Description
Activate Any Triggers the node
InitialValue Integer Initial interpolation value for integer
TargetValue Integer Target interpolation value for integer
Time Float Interpolation duration in seconds

Outputs

Port Type Description
Value Integer Current value
Done Any Triggered when finished

SmoothVec3 node

Used to non-linearly (damped spring system) calculate from an initial Vec3 value to an end Vec3 value within a given time frame. Calculation will slow down as it reaches the end value.

Inputs

Port Type Description
Activate Any Triggers the node
InitialValue Vec3 Initial interpolation value for Vec3
TargetValue Vec3 Target interpolation value for Vec3
Time Float Interpolation duration in seconds

Outputs

Port Type Description
Value Vec3 Current value
Done Any Triggered when finished

Vec3 node

Used to linearly calculate from an initial Vec3 value to an end Vec3 value within a given time frame.

Inputs

Port Type Description
Start Any Starts interpolation
Stop Any Stops interpolation
StartValue Vec3 Starting value for Vec3
EndValue Vec3 Ending value for Vec3
Time Float Interpolation duration in seconds
UpdateFrequency Float Interpolation update frequency in seconds. 0 = every frame

Outputs

Port Type Description
Value Vec3 Current value
Done Any Triggered when finished