Share via


CompositionEasingFunction.CreateBounceEasingFunction Method

Definition

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

A value that specifies how the animation interpolates.

bounces
Int32

int

The number of bounces.

bounciness
Single

float

A value that specifies how bouncy the bounce animation is.

Returns

The created BounceEasingFunction object.

Applies to

See also