Share via


CompositionEasingFunction.CreateBounceEasingFunction Method

Definition

Creates an instance of BounceEasingFunction.

public:
 static BounceEasingFunction ^ CreateBounceEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
 static BounceEasingFunction CreateBounceEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& bounces, float const& bounciness);
public static BounceEasingFunction CreateBounceEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int bounces, float bounciness);
function createBounceEasingFunction(owner, mode, bounces, bounciness)
Public Shared Function CreateBounceEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, bounces As Integer, bounciness As Single) As BounceEasingFunction

Parameters

owner
Compositor

The Compositor used to create the easing function.

mode
CompositionEasingFunctionMode

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

bounces
Int32

int

The number of bounces. The value must be greater or equal to zero.

bounciness
Single

float

The value that specifies how bouncy the bounce animation is. This value must be positive.

Returns

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