Share via


CompositionEasingFunction.CreatePowerEasingFunction Method

Definition

Creates an instance of PowerEasingFunction.

public:
 static PowerEasingFunction ^ CreatePowerEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, float power);
 static PowerEasingFunction CreatePowerEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, float const& power);
public static PowerEasingFunction CreatePowerEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, float power);
function createPowerEasingFunction(owner, mode, power)
Public Shared Function CreatePowerEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, power As Single) As PowerEasingFunction

Parameters

owner
Compositor

The Compositor used to create the easing function.

mode
CompositionEasingFunctionMode

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

power
Single

float

The exponential power of the animation interpolation. This value must be greater or equal to 0.

Returns

Returns the created PowerEasingFunction 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