MatrixInterpolatorInterpolate(Double) Method |
Return the interpolated matrix "between"
From and
To based the 0..1 interval.
Namespace: Demo3D.CommonAssembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntaxpublic Matrix Interpolate(
double t
)
Parameters
- t Double
- Value between 0 and 1 for how much translation, rotation and scale component to include (snapped to range [0, 1]).
Return Value
Matrixif <= 0 return
From, if >= 1 return
To, otherwise interpolated matrix.
See Also