|
FirstPersonCameraTurnTo(Vector3D, Double, FuncDouble, Double) Method |
Turns the camera to the specified direction
Namespace: Ab3d.CamerasAssembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax public void TurnTo(
Vector3D direction,
double animationDurationInMilliseconds,
Func<double, double> easingFunction
)
Parameters
- direction Vector3D
- direction as Vector3D
- animationDurationInMilliseconds Double
- animation duration in milliseconds of turn the camera or 0 to turn the camera immediately without any animation
- easingFunction FuncDouble, Double
- easing function (see Ab3d.Animation.EasingFunctions for different easing functions). When null linear interpolation is used.
See Also