CompositionEasingFunction.CreateElasticEasingFunction Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Erstellt eine neue Instanz von 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
Parameter
- owner
- Compositor
Der Kompositor, der zum Erstellen der Beschleunigungsfunktion verwendet wurde.
Ein Wert, der angibt, wie die Animation interpoliert.
- oscillations
-
Int32
int
Gibt an, wie oft die Zielfolien über dem Animationsziel hin und her geschoben werden.
- springiness
-
Single
float
Die Schärfe der Feder. Je kleiner der Federwert ist, desto härter wird die Feder und desto schneller verringert sich die Intensität bei jeder Schwingung.
Gibt zurück
Das erstellte ElasticEasingFunction-Objekt.