Dela via


CompositionEasingFunction.CreateExponentialEasingFunction Method

Definition

Creates an instance of ExponentialEasingFunction.

public:
 static ExponentialEasingFunction ^ CreateExponentialEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float exponent);
 static ExponentialEasingFunction CreateExponentialEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& exponent);
public static ExponentialEasingFunction CreateExponentialEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float exponent);
function createExponentialEasingFunction(owner, mode, exponent)
Public Shared Function CreateExponentialEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, exponent As Single) As ExponentialEasingFunction

Parameters

owner
Compositor

The Compositor used to create the easing function.

mode
CompositionEasingFunctionMode

One of the enumeration values that specifies how the animation interpolates.

exponent
Single

float

The exponent used to determine the interpolation of the animation.

Returns

Returns the created ExponentialEasingFunction object.

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v12.0)

Applies to