Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
FlippingRequest.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 using System.Collections.Generic;
5 using System.Linq;
6 using System.Text;
7 
8 namespace SiliconStudio.TextureConverter.Requests
9 {
10  /// <summary>
11  /// Request to flip a texture vertically or horizontally
12  /// </summary>
13  internal class FlippingRequest : IRequest
14  {
15 
16  public override RequestType Type { get { return RequestType.Flipping; } }
17 
18 
19  /// <summary>
20  /// The requested orientation flip
21  /// </summary>
22  public Orientation Flip { get; set; }
23 
24 
25  /// <summary>
26  /// Initializes a new instance of the <see cref="FlippingRequest"/> class.
27  /// </summary>
28  /// <param name="orientation">The orientation.</param>
29  public FlippingRequest(Orientation orientation)
30  {
31  this.Flip = orientation;
32  }
33 
34  }
35 }
The type of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A becomes instantiated as Serializer{A}.
Android.Widget.Orientation Orientation
Definition: Section.cs:9