Click or drag to resize
MouseCameraControllerRotationEasingFunction Field
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: 7.0.0.0
Syntax
C#
public SphericalCameraEasingFunctionDelegate RotationEasingFunction

Field Value

Type: SphericalCameraEasingFunctionDelegate
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:

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