Class AudioVolumeFadeEffect
Audio volume fade effect (applied to track).
Inherited Members
Namespace: VisioForge.Core.Types.VideoEdit
Assembly: VisioForge.Core.dll
Syntax
public class AudioVolumeFadeEffect : AudioTrackEffect
Constructors
AudioVolumeFadeEffect(int, int, TimeSpan, TimeSpan)
Initializes a new instance of the AudioVolumeFadeEffect class.
Declaration
public AudioVolumeFadeEffect(int minLevel, int maxLevel, TimeSpan fadeInDuration, TimeSpan fadeOutDuration)
Parameters
Type | Name | Description |
---|---|---|
int | minLevel | Minimal level (in percents), range is [0-100]. |
int | maxLevel | Maximal level (in percents), range is [0-100]. |
TimeSpan | fadeInDuration | Fade-in duration (in milliseconds). Set it to 0 to disable. |
TimeSpan | fadeOutDuration | Fade-out duration (in milliseconds). Set it to 0 to disable. |
Properties
FadeInDuration
Gets or sets fade-in duration. Set it to 0 to disable.
Declaration
public TimeSpan FadeInDuration { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
FadeOutDuration
Gets or sets fade-out duration (in milliseconds). Set it to 0 to disable.
Declaration
public TimeSpan FadeOutDuration { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
MaxLevel
Gets or sets maximal level (in percents), range is [0-100].
Declaration
public int MaxLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
MinLevel
Gets or sets minimal level (in percents), range is [0-100].
Declaration
public int MinLevel { get; set; }
Property Value
Type | Description |
---|---|
int |