CompositionEasingFunction.CreateBounceEasingFunction 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建 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
参数
- owner
- Compositor
用于创建缓动函数的合成器。
一个 值,该值指定动画的内插方式。
- bounces
-
Int32
int
弹跳次数。
- bounciness
-
Single
float
一个 值,该值指定弹跳动画的弹力。
返回
创建的 BounceEasingFunction
对象。