Class VideoEffectSpray
Spray effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class VideoEffectSpray : VideoEffect, IVideoEffectSpray, IVideoEffect
Constructors
VideoEffectSpray(int, int, string, TimeSpan, TimeSpan, bool)
Initializes a new instance of the VideoEffectSpray class.
Declaration
public VideoEffectSpray(int value = 50, int valueStop = 0, string name = "spray", TimeSpan startTime = default, TimeSpan stopTime = default, bool enabled = true)
Parameters
Type | Name | Description |
---|---|---|
int | value | Spray value. |
int | valueStop | Spray stop value (optional). |
string | name | Effect name. Can be used to get effect interface to control it. |
TimeSpan | startTime | Start time. Use 0 to show effect always. |
TimeSpan | stopTime | Stop time. Use 0 to show effect always. |
bool | enabled | True to enable effects. |
Properties
Value
Gets or sets spray value.
Declaration
public int Value { get; set; }
Property Value
Type | Description |
---|---|
int |
ValueStop
Gets or sets spray stop value (optional).
Declaration
public int ValueStop { get; set; }
Property Value
Type | Description |
---|---|
int |
Methods
GetEffectType()
Gets type.
Declaration
public VideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
VideoEffectType | The VideoEffectType. |