Click or drag to resize
AB4D logo

FirstPersonCameraTurnTo(Point3D, Double, FuncDouble, Double) Method

Turns the camera to the direction of the specified position

Namespace: Ab3d.Cameras
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public void TurnTo(
	Point3D position,
	double animationDurationInMilliseconds,
	Func<double, double> easingFunction
)

Parameters

position  Point3D
position as Point3D
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