-
Notifications
You must be signed in to change notification settings - Fork 365
M_Aurora_EffectsEngine_EffectLayer_PercentEffect
Anton Pupkov edited this page Aug 8, 2016
·
2 revisions
Draws a percent effect on the layer bitmap using DeviceKeys keys and a ColorSpectrum.
Namespace: Aurora.EffectsEngine
Assembly: Aurora (in Aurora.exe) Version: 1.0.0.0 (0.0.4.6)
C#
public void PercentEffect(
ColorSpectrum spectrum,
DeviceKeys[] keys,
double value,
double total,
PercentEffectType percentEffectType = PercentEffectType.Progressive
)
- spectrum
- Type: Aurora.EffectsEngine.ColorSpectrum
The ColorSpectrum to be used as a "Progress bar" - keys
- Type: Aurora.Devices.DeviceKeys[]
The array of keys that the percent effect will be drawn on - value
- Type: System.Double
The current progress value - total
- Type: System.Double
The maxiumum progress value - percentEffectType (Optional)
- Type: Aurora.Settings.PercentEffectType
The percent effect type
EffectLayer Class
PercentEffect Overload
Aurora.EffectsEngine Namespace