The image atlas.
Inheritance: Control
示例#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;
 }
 /// <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;
 }