Skip to content
API referenceDevelopmentRuntime scriptingEngine ccf7d03f
Synced
  • Performs a Catmull-Rom interpolation using the specified positions.

API: scripting
Project: Inno.Core.Mathematics
Scope: Runtime

public static float InnoEngine.Mathematics.MathHelper.CatmullRom(float value1, float value2, float value3, float value4, float amount)

Parameter value1: The first position in the interpolation.

Parameter value2: The second position in the interpolation.

Parameter value3: The third position in the interpolation.

Parameter value4: The fourth position in the interpolation.

Parameter amount: Weighting factor.

A position that is the result of the Catmull-Rom interpolation.