Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
ags71 26/04/2011 13:55 | ags71 28/04/2011 12:14 version actuelle | ||
---|---|---|---|
Ligne 153: | Ligne 153: | ||
readonly bool Region.TintEnabled | readonly bool Region.TintEnabled | ||
- | Gets whether the region currently has an RGB tint enabled for it.\\ \\ | + | Retourne si la région est actuellement affectée par une teinte RGB.\\ \\ |
- | Returns // true // if it does, and // false // if it does not. If it does not, then | + | Retourne // true // si c'est le cas, // false // sinon. Si ce n'est pas |
- | the LightLevel property reflects the region lighting.\\ \\ | + | le cas, alors la propriété LightLevel correspond à l'éclairage de la région.\\ \\ |
- | If this property is // false // , then the TintRed, TintGreen, TintBlue and TintSaturation | + | Si cette propriété vaut // false // , alors les propriétés TintRed, TintGreen, TintBlue et |
- | properties are invalid.\\ \\ | + | TintSaturation sont invalides.\\ \\ |
- | Example: | + | Exemple : |
if (region[4].TintEnabled) { | if (region[4].TintEnabled) { | ||
- | Display("Region 4 is tinted!!"); | + | Display("La région 4 est teintée !!"); |
} | } | ||
- | will display a message if region 4 is tinted\\ \\ | + | affichera un message si la région 4 est teintée.\\ \\ |
- | // See Also: // [[ags71#Tint (region)|Region.Tint]]\\ \\ | + | // Voir aussi : // [[ags71#Tint (region)|Region.Tint]]\\ \\ |
Ligne 175: | Ligne 175: | ||
readonly int Region.TintBlue | readonly int Region.TintBlue | ||
- | Gets the // Blue // setting for the region's current tint.\\ \\ | + | Retourne le taux de // Bleu // (//Blue//) de la teinte actuelle de la région.\\ \\ |
- | This property is read-only; to change it, use the [[ags71#Region.Tint|Region.Tint]] command.\\ \\ | + | Cette propriété est en lecture seule ; pour la changer, utilisez la commande [[ags71#Region.Tint|Region.Tint]].\\ \\ |
- | ** NOTE: ** If the [[ags71#Region.TintEnabled|Region.TintEnabled]] property is false, then | + | ** NOTE : ** Si la propriété [[ags71#Region.TintEnabled|Region.TintEnabled]] vaut // false //, alors cette valeur |
- | this value is meaningless.\\ \\ | + | n'est pas pertinente.\\ \\ |
- | Example: | + | Exemple : |
if (region[4].TintEnabled) { | if (region[4].TintEnabled) { | ||
- | Display("Region 4 is tinted RGB (%d,%d,%d) Saturation %d.", | + | Display("La region 4 est teintée en RVB (%d,%d,%d), Saturation %d.", |
region[4].TintRed, region[4].TintGreen, | region[4].TintRed, region[4].TintGreen, | ||
region[4].TintBlue, region[4].TintSaturation); | region[4].TintBlue, region[4].TintSaturation); | ||
} | } | ||
- | will display a message with the region's tints.\\ \\ | + | affichera un message avec les teintes de la région.\\ \\ |
- | // See Also: // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], | + | // Voir aussi : // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], |
[[ags71#TintGreen property|Region.TintGreen]], [[ags71#TintRed property|Region.TintRed]]\\ \\ | [[ags71#TintGreen property|Region.TintGreen]], [[ags71#TintRed property|Region.TintRed]]\\ \\ | ||
Ligne 199: | Ligne 199: | ||
readonly int Region.TintGreen | readonly int Region.TintGreen | ||
- | Gets the // Green // setting for the region's current tint.\\ \\ | + | Retourne le taux de // Vert // (//Green//) de la teinte actuelle de la région.\\ \\ |
- | This property is read-only; to change it, use the [[ags71#Region.Tint|Region.Tint]] command.\\ \\ | + | Cette propriété est en lecture seule ; pour la changer, utilisez la commande [[ags71#Region.Tint|Region.Tint]].\\ \\ |
- | ** NOTE: ** If the [[ags71#Region.TintEnabled|Region.TintEnabled]] property is false, then | + | ** NOTE : ** Si la propriété [[ags71#Region.TintEnabled|Region.TintEnabled]] vaut // false //, alors cette valeur |
- | this value is meaningless.\\ \\ | + | n'est pas pertinente.\\ \\ |
- | Example: | + | Exemple : |
if (region[4].TintEnabled) { | if (region[4].TintEnabled) { | ||
- | Display("Region 4 is tinted RGB (%d,%d,%d) Saturation %d.", | + | Display("La region 4 est teintée en RVB (%d,%d,%d), Saturation %d.", |
region[4].TintRed, region[4].TintGreen, | region[4].TintRed, region[4].TintGreen, | ||
region[4].TintBlue, region[4].TintSaturation); | region[4].TintBlue, region[4].TintSaturation); | ||
} | } | ||
- | will display a message with the region's tints.\\ \\ | + | affichera un message avec les teintes de la région.\\ \\ |
- | // See Also: // [[ags71#Region.Tint|Region.Tint]], [[ags71#Region.TintEnabled|Region.TintEnabled]], | + | // Voir aussi : // [[ags71#Region.Tint|Region.Tint]], [[ags71#Region.TintEnabled|Region.TintEnabled]], |
[[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintRed property|Region.TintRed]]\\ \\ | [[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintRed property|Region.TintRed]]\\ \\ | ||
Ligne 223: | Ligne 223: | ||
readonly int Region.TintRed | readonly int Region.TintRed | ||
- | Gets the // Red // setting for the region's current tint.\\ \\ | + | Retourne le taux de // Rouge // (//Red//) de la teinte actuelle de la région.\\ \\ |
- | This property is read-only; to change it, use the [[ags71#Region.Tint|Region.Tint]] command.\\ \\ | + | Cette propriété est en lecture seule ; pour la changer, utilisez la commande [[ags71#Region.Tint|Region.Tint]].\\ \\ |
- | ** NOTE: ** If the [[ags71#Region.TintEnabled|Region.TintEnabled]] property is false, then | + | ** NOTE : ** Si la propriété [[ags71#Region.TintEnabled|Region.TintEnabled]] vaut // false //, alors cette valeur |
- | this value is meaningless.\\ \\ | + | n'est pas pertinente.\\ \\ |
- | Example: | + | Exemple : |
if (region[4].TintEnabled) { | if (region[4].TintEnabled) { | ||
- | Display("Region 4 is tinted RGB (%d,%d,%d) Saturation %d.", | + | Display("La region 4 est teintée en RVB (%d,%d,%d), Saturation %d.", |
region[4].TintRed, region[4].TintGreen, | region[4].TintRed, region[4].TintGreen, | ||
region[4].TintBlue, region[4].TintSaturation); | region[4].TintBlue, region[4].TintSaturation); | ||
} | } | ||
- | will display a message with the region's tints.\\ \\ | + | affichera un message avec les teintes de la région.\\ \\ |
- | // See Also: // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], | + | // Voir aussi : // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], |
[[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintGreen property|Region.TintGreen]]\\ \\ | [[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintGreen property|Region.TintGreen]]\\ \\ | ||
Ligne 247: | Ligne 247: | ||
readonly int Region.TintSaturation | readonly int Region.TintSaturation | ||
- | Gets the // saturation // setting for the region's current tint.\\ \\ | + | Retourne la // Saturation // de la teinte actuelle de la région.\\ \\ |
- | This property is read-only; to change it, use the [[ags71#Tint (region)|Region.Tint]] command.\\ \\ | + | Cette propriété est en lecture seule ; pour la changer, utilisez la commande [[ags71#Region.Tint|Region.Tint]].\\ \\ |
- | ** NOTE: ** If the [[ags71#TintEnabled property|Region.TintEnabled]] property is false, then | + | ** NOTE : ** Si la propriété [[ags71#Region.TintEnabled|Region.TintEnabled]] vaut // false //, alors cette valeur |
- | this value is meaningless.\\ \\ | + | n'est pas pertinente.\\ \\ |
- | Example: | + | Exemple : |
if (region[4].TintEnabled) { | if (region[4].TintEnabled) { | ||
- | Display("Region 4 is tinted RGB (%d,%d,%d) Saturation %d.", | + | Display("La region 4 est teintée en RVB (%d,%d,%d), Saturation %d.", |
region[4].TintRed, region[4].TintGreen, | region[4].TintRed, region[4].TintGreen, | ||
region[4].TintBlue, region[4].TintSaturation); | region[4].TintBlue, region[4].TintSaturation); | ||
} | } | ||
- | will display a message with the region's tints.\\ \\ | + | affichera un message avec les teintes de la région.\\ \\ |
- | // See Also: // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], | + | // Voir aussi : // [[ags71#Tint (region)|Region.Tint]], [[ags71#TintEnabled property|Region.TintEnabled]], |
[[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintGreen property|Region.TintGreen]] | [[ags71#TintBlue property|Region.TintBlue]], [[ags71#TintGreen property|Region.TintGreen]] | ||
, [[ags71#TintRed property|Region.TintRed]] | , [[ags71#TintRed property|Region.TintRed]] | ||
- | {{tag>en_cours}} | + | {{tag>français}} |