MatrixInterpolatorInterpolateNoSnap Method (Double, Double, Double) |
Return the interpolated matrix "between"
From and
To based on the 0..1 components of the
translation, rotation, and scale.
Namespace:
Demo3D.Common
Assembly:
Demo3D.Common (in Demo3D.Common.dll) Version: 15.0.2.11458
Syntaxpublic Matrix InterpolateNoSnap(
double t,
double r,
double s
)
Parameters
- t
- Type: SystemDouble
Value between 0 and 1 for how much translation component to include. - r
- Type: SystemDouble
Value between 0 and 1 for how much rotation component to include. - s
- Type: SystemDouble
Value between 0 and 1 for how much scale component to include.
Return Value
Type:
Matrixif <= 0 return
From, if >= 1 return
To, otherwise interpolated matrix.
RemarksIt is assumed that the values passed in are in the range [0, 1].
See Also