Search
CustomFunctionCallback Delegate
See Also
 





A callback function called when the animation type is set to Custom, responsible to provide the animation update function.

Namespace: MindFusion.Animations
Assembly: MindFusion.Common.Wpf

 Syntax

C#  Copy Code

public delegate double CustomFunctionCallback (
    double progress,
    Nullable<Double> param
)

Visual Basic  Copy Code

Public Delegate Function CustomFunctionCallback( _
    progress As Double, _
    param As Nullable(Of Double) _
) As Double

 Parameters

progress

The percentage of elapsed animation duration. This value is between 0 and 1.

param

An optional user-set parameter influencing the function.

 Return Value

The animation progress along the animation function.

 See Also