Class GPUVideoEffectEmboss
Emboss effect.
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectEmboss : GPUVideoEffect, IGPUVideoEffectEmboss, IGPUVideoEffect
Constructors
GPUVideoEffectEmboss(bool, float, float, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectEmboss class.
Declaration
public GPUVideoEffectEmboss(bool enabled, float amount = 15, float width = 0.0005, string name = "Emboss", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | enabled | True to enable effects. |
| float | amount | Emboss amount. Range is 0.0 - 30.0. |
| float | width | Emboss width. Range is 0.0 - 0.005. |
| 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. |
Properties
Amount
Gets or sets emboss amount. Range is 0.0 - 30.0.
Declaration
public float Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Width
Gets or sets emboss width. Range is 0.0 - 0.005.
Declaration
public float Width { get; set; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
| Type | Description |
|---|---|
| GPUVideoEffectType | The VideoEffectType. |