The image atlas.
Inheritance: Control
Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageAtlasRenderer" /> class.
 /// </summary>
 /// <param name="layerType">Type of the layer.</param>
 public ImageAtlasRenderer(Type layerType)
     : base("ImageAtlasRenderer" + instances++, layerType)
 {
     this.Transform2D = null;
     this.Image       = null;
     this.scale       = Vector2.Zero;
     this.position    = Vector2.Zero;
     this.origin      = Vector2.Zero;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ImageAtlasRenderer" /> class.
 /// </summary>
 /// <param name="layerType">Type of the layer.</param>
 public ImageAtlasRenderer(Type layerType)
     : base("ImageAtlasRenderer" + instances++, layerType)
 {
     this.Transform2D = null;
     this.Image = null;
     this.scale = Vector2.Zero;
     this.position = Vector2.Zero;
     this.origin = Vector2.Zero;
 }