Share via


CompositionEasingFunction.CreatePowerEasingFunction Method

Definition

Creates a new 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

A value that specifies how the animation interpolates.

power
Single

float

The exponential power of the animation interpolation.

Returns

The created PowerEasingFunction object.

Applies to

See also