CompositionEasingFunction.CreateElasticEasingFunction 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立 ElasticEasingFunction的新實例。
public:
static ElasticEasingFunction ^ CreateElasticEasingFunction(Compositor ^ owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
static ElasticEasingFunction CreateElasticEasingFunction(Compositor const& owner, CompositionEasingFunctionMode const& mode, int const& oscillations, float const& springiness);
public static ElasticEasingFunction CreateElasticEasingFunction(Compositor owner, CompositionEasingFunctionMode mode, int oscillations, float springiness);
function createElasticEasingFunction(owner, mode, oscillations, springiness)
Public Shared Function CreateElasticEasingFunction (owner As Compositor, mode As CompositionEasingFunctionMode, oscillations As Integer, springiness As Single) As ElasticEasingFunction
參數
- owner
- Compositor
用來建立 Easing 函式的撰寫器。
值,指定動畫插補的方式。
- oscillations
-
Int32
int
到達動畫目的期間,目標來回滑動的次數。
- springiness
-
Single
float
彈簧的擷取。 彈簧 值越 小,彈簧越不穩定,彈性越快會隨著每次震動而降低強度。
傳回
建立的 ElasticEasingFunction
物件。