MÉTHODE IDCompositionLinearTransferEffect ::SetAlphaYIntercept(IDCompositionAnimation*) (dcomp.h)

Définit l’intercept Y de la fonction linéaire pour le canal Alpha.

Syntaxe

HRESULT SetAlphaYIntercept(
  [in] IDCompositionAnimation *animation
);

Paramètres

[in] animation

Type : IDCompositionAnimation*

Animation qui représente la façon dont l’intercept Y de la fonction linéaire pour le canal alpha. change au fil du temps. Ce paramètre ne doit pas avoir la valeur NULL.

Valeur retournée

Type : HRESULT

Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.

Spécifications

Condition requise Valeur
Plateforme cible Windows
En-tête dcomp.h
Bibliothèque Dcomp.lib
DLL Dcomp.dll

Voir aussi

IDCompositionLinearTransferEffect