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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eOverlay.Types.AnimationFade\u003c/code\u003e class is 2.9.0, with documentation available for versions back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eOverlay.Types.AnimationFade\u003c/code\u003e is a class within the Google Cloud Transcoder v1 API designed to add fade animations to overlay objects.\u003c/p\u003e\n"],["\u003cp\u003eIt implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eAnimationFade\u003c/code\u003e class include \u003ccode\u003eEndTimeOffset\u003c/code\u003e, \u003ccode\u003eFadeType\u003c/code\u003e, \u003ccode\u003eStartTimeOffset\u003c/code\u003e, and \u003ccode\u003eXy\u003c/code\u003e, which define the timing, type, and position of the fade animation.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes constructors to create a new \u003ccode\u003eAnimationFade\u003c/code\u003e object or copy an existing one, allowing for flexible instantiation.\u003c/p\u003e\n"]]],[],null,["# Transcoder v1 API - Class Overlay.Types.AnimationFade (2.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.9.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.8.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.7.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.6.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.5.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.4.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.3.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.2.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.1.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/2.0.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/1.0.0/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade) \n\n public sealed class Overlay.Types.AnimationFade : IMessage\u003cOverlay.Types.AnimationFade\u003e, IEquatable\u003cOverlay.Types.AnimationFade\u003e, IDeepCloneable\u003cOverlay.Types.AnimationFade\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Transcoder v1 API class Overlay.Types.AnimationFade.\n\nDisplay overlay object with fade animation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Overlay.Types.AnimationFade \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Overlay](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay)[Types](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types)[AnimationFade](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Overlay](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay)[Types](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types)[AnimationFade](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Overlay](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay)[Types](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types)[AnimationFade](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1.Overlay.Types.AnimationFade), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.Transcoder.V1](/dotnet/docs/reference/Google.Cloud.Video.Transcoder.V1/latest/Google.Cloud.Video.Transcoder.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.Transcoder.V1.dll\n\nConstructors\n------------\n\n### AnimationFade()\n\n public AnimationFade()\n\n### AnimationFade(AnimationFade)\n\n public AnimationFade(Overlay.Types.AnimationFade other)\n\nProperties\n----------\n\n### EndTimeOffset\n\n public Duration EndTimeOffset { get; set; }\n\nThe time to end the fade animation, in seconds. Default:\n`start_time_offset` + 1s\n\n### FadeType\n\n public Overlay.Types.FadeType FadeType { get; set; }\n\nRequired. Type of fade animation: `FADE_IN` or `FADE_OUT`.\n\n### StartTimeOffset\n\n public Duration StartTimeOffset { get; set; }\n\nThe time to start the fade animation, in seconds. Default: 0\n\n### Xy\n\n public Overlay.Types.NormalizedCoordinate Xy { get; set; }\n\nNormalized coordinates based on output video resolution. Valid\nvalues: `0.0`--`1.0`. `xy` is the upper-left coordinate of the overlay\nobject. For example, use the x and y coordinates {0,0} to position the\ntop-left corner of the overlay animation in the top-left corner of the\noutput video."]]