public sealed class AnimationFade : IMessage<Overlay.Types.AnimationFade>, IEquatable<Overlay.Types.AnimationFade>, IDeepCloneable<Overlay.Types.AnimationFade>, IBufferMessage, IMessage
Display overlay object with fade animation.
Implements
IMessage<Overlay.Types.AnimationFade>, IEquatable<Overlay.Types.AnimationFade>, IDeepCloneable<Overlay.Types.AnimationFade>, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
AnimationFade()
public AnimationFade()
AnimationFade(Overlay.Types.AnimationFade)
public AnimationFade(Overlay.Types.AnimationFade other)
Parameter | |
---|---|
Name | Description |
other | Overlay.Types.AnimationFade |
Properties
EndTimeOffset
public Duration EndTimeOffset { get; set; }
The time to end the fade animation, in seconds. Default:
start_time_offset
+ 1s
Property Value | |
---|---|
Type | Description |
Duration |
FadeType
public Overlay.Types.FadeType FadeType { get; set; }
Required. Type of fade animation: FADE_IN
or FADE_OUT
.
Property Value | |
---|---|
Type | Description |
Overlay.Types.FadeType |
StartTimeOffset
public Duration StartTimeOffset { get; set; }
The time to start the fade animation, in seconds. Default: 0
Property Value | |
---|---|
Type | Description |
Duration |
Xy
public Overlay.Types.NormalizedCoordinate Xy { get; set; }
Normalized coordinates based on output video resolution. Valid
values: 0.0
–1.0
. xy
is the upper-left coordinate of the overlay
object. For example, use the x and y coordinates {0,0} to position the
top-left corner of the overlay animation in the top-left corner of the
output video.
Property Value | |
---|---|
Type | Description |
Overlay.Types.NormalizedCoordinate |