Click or drag to resize
AB4D logo

MouseCameraControllerRotationEasingFunction Property

Gets or sets a delegate that specifies the easing functions used to calculate the rotation inertia.

Namespace: Ab3d.Controls
Assembly: Ab3d.PowerToys (in Ab3d.PowerToys.dll) Version: 11.1.8864.1045
Syntax
C#
public BaseCameraEasingFunctionDelegate RotationEasingFunction { get; set; }

Property Value

BaseCameraEasingFunctionDelegate
Remarks

RotationEasingFunction gets or sets a delegate that specifies the easing functions used to calculate the rotation inertia.

For example the MouseCameraController is using the following cubic function to ease the camera rotation inertia:

C#
public static double CubicEaseOut(double x)
{
    return (x - 1) * (x - 1) * (x - 1) + 1;
}

The major property to control the rotation inertia is RotationInertiaRatio.

See Also