Skip to content

M_Aurora_EffectsEngine_EffectLayer_PercentEffect

Anton Pupkov edited this page Aug 8, 2016 · 2 revisions

EffectLayer.PercentEffect Method (ColorSpectrum, DeviceKeys[], Double, Double, PercentEffectType)

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)

Syntax

C#

public void PercentEffect(
	ColorSpectrum spectrum,
	DeviceKeys[] keys,
	double value,
	double total,
	PercentEffectType percentEffectType = PercentEffectType.Progressive
)

Parameters

 

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

See Also

Reference

EffectLayer Class
PercentEffect Overload
Aurora.EffectsEngine Namespace

Clone this wiki locally