public sealed class Overlay.Types.AnimationFade : IMessage<Overlay.Types.AnimationFade>, IEquatable<Overlay.Types.AnimationFade>, IDeepCloneable<Overlay.Types.AnimationFade>, IBufferMessage, IMessage
Reference documentation and code samples for the Transcoder v1 API class Overlay.Types.AnimationFade.
Display overlay object with fade animation.
Implements
IMessageOverlayTypesAnimationFade, IEquatableOverlayTypesAnimationFade, IDeepCloneableOverlayTypesAnimationFade, IBufferMessage, IMessageNamespace
Google.Cloud.Video.Transcoder.V1Assembly
Google.Cloud.Video.Transcoder.V1.dll
Constructors
AnimationFade()
public AnimationFade()
AnimationFade(AnimationFade)
public AnimationFade(Overlay.Types.AnimationFade other)
Parameter | |
---|---|
Name | Description |
other | OverlayTypesAnimationFade |
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 |
OverlayTypesFadeType |
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 |
OverlayTypesNormalizedCoordinate |