Udostępnij za pośrednictwem


CompositionEasingFunction.CreateSineEasingFunction Method

Definition

Creates an instance of SineEasingFunction.

public:
 static SineEasingFunction ^ CreateSineEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode);
 static SineEasingFunction CreateSineEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode);
public static SineEasingFunction CreateSineEasingFunction(Compositor owner, CompositionEasingFunctionMode mode);
function createSineEasingFunction(owner, mode)
Public Shared Function CreateSineEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode) As SineEasingFunction

Parameters

owner
Compositor

The Compositor used to create the easing function.

mode
CompositionEasingFunctionMode

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

Returns

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