MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / SmoothStep

Method SmoothStep

Source/Engine/Core/Math/Matrix.cs:1366–1370  ·  view source on GitHub ↗

Performs a cubic interpolation between two matrices. Start matrix. End matrix. Value between 0 and 1 indicating the weight of . When the method completes, contains the cubic interpolation of the two matrices.

(ref Matrix start, ref Matrix end, float amount, out Matrix result)

Source from the content-addressed store, hash-verified

1364 /// <param name="amount">Value between 0 and 1 indicating the weight of <paramref name="end" />.</param>
1365 /// <param name="result">When the method completes, contains the cubic interpolation of the two matrices.</param>
1366 public static void SmoothStep(ref Matrix start, ref Matrix end, float amount, out Matrix result)
1367 {
1368 amount = Mathf.SmoothStep(amount);
1369 Lerp(ref start, ref end, amount, out result);
1370 }
1371
1372 /// <summary>
1373 /// Performs a cubic interpolation between two matrices.

Callers

nothing calls this directly

Calls 2

LerpFunction · 0.70
SmoothStepFunction · 0.70

Tested by

no test coverage detected