Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
FlippingSubRequest.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 namespace SiliconStudio.TextureConverter.Requests
4 {
5  internal class FlippingSubRequest : FlippingRequest
6  {
7  public override RequestType Type { get { return RequestType.FlippingSub; } }
8 
9  /// <summary>
10  /// The index of the sub-image to flip.
11  /// </summary>
12  public int SubImageIndex;
13 
14  public FlippingSubRequest(int index, Orientation orientation)
15  : base(orientation)
16  {
17  SubImageIndex = index;
18  }
19  }
20 }
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