Skip to content

M_Aurora_EffectsEngine_EffectLayer_PercentEffect_2

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

EffectLayer.PercentEffect Method (ColorSpectrum, KeySequence, Double, Double, PercentEffectType)

Draws a percent effect on the layer bitmap using a KeySequence 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,
	KeySequence sequence,
	double value,
	double total = 1,
	PercentEffectType percentEffectType = PercentEffectType.Progressive
)

Parameters

 

spectrum
Type: Aurora.EffectsEngine.ColorSpectrum
The ColorSpectrum to be used as a "Progress bar"
sequence
Type: Aurora.Settings.KeySequence
The sequence of keys that the percent effect will be drawn on
value
Type: System.Double
The current progress value
total (Optional)
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