Files
BlenderSharp/BlendFile/DNA/View2D.cs
2025-03-11 19:12:04 +01:00

159 lines
6.1 KiB
C#

//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
namespace BlendFile.DNA {
using BlendFile;
[DNAClassAttribute(74, "View2D", 152)]
public class View2D {
[DNAFieldAttribute(16, "rctf", 0, "tot", "rctf", false, 0)]
public rctf tot;
[DNAFieldAttribute(16, "rctf", 1, "cur", "rctf", false, 16)]
public rctf cur;
[DNAFieldAttribute(16, "rcti", 2, "vert", "rcti", false, 32)]
public rcti vert;
[DNAFieldAttribute(16, "rcti", 3, "hor", "rcti", false, 48)]
public rcti hor;
[DNAFieldAttribute(16, "rcti", 4, "mask", "rcti", false, 64)]
public rcti mask;
[DNAArrayAttribute(8, "float", 5, "min[2]", "System.Single[]", 2, 80)]
public float[] min = new System.Single[2];
[DNAArrayAttribute(8, "float", 6, "max[2]", "System.Single[]", 2, 88)]
public float[] max = new System.Single[2];
[DNAFieldAttribute(4, "float", 7, "minzoom", "float", false, 96)]
public float minzoom;
[DNAFieldAttribute(4, "float", 8, "maxzoom", "float", false, 100)]
public float maxzoom;
[DNAFieldAttribute(2, "short", 9, "scroll", "short", false, 104)]
public short scroll;
[DNAFieldAttribute(2, "short", 10, "scroll_ui", "short", false, 106)]
public short scroll_ui;
[DNAFieldAttribute(2, "short", 11, "keeptot", "short", false, 108)]
public short keeptot;
[DNAFieldAttribute(2, "short", 12, "keepzoom", "short", false, 110)]
public short keepzoom;
[DNAFieldAttribute(2, "short", 13, "keepofs", "short", false, 112)]
public short keepofs;
[DNAFieldAttribute(2, "short", 14, "flag", "short", false, 114)]
public short flag;
[DNAFieldAttribute(2, "short", 15, "align", "short", false, 116)]
public short align;
[DNAFieldAttribute(2, "short", 16, "winx", "short", false, 118)]
public short winx;
[DNAFieldAttribute(2, "short", 17, "winy", "short", false, 120)]
public short winy;
[DNAFieldAttribute(2, "short", 18, "oldwinx", "short", false, 122)]
public short oldwinx;
[DNAFieldAttribute(2, "short", 19, "oldwiny", "short", false, 124)]
public short oldwiny;
[DNAFieldAttribute(2, "short", 20, "around", "short", false, 126)]
public short around;
[DNAFieldAttribute(1, "char", 21, "alpha_vert", "char", false, 128)]
public char alpha_vert;
[DNAFieldAttribute(1, "char", 22, "alpha_hor", "char", false, 129)]
public char alpha_hor;
[DNAArrayAttribute(2, "char", 23, "_pad[2]", "System.Char[]", 2, 130)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(4, "float", 24, "page_size_y", "float", false, 132)]
public float page_size_y;
[DNAFieldAttribute(8, "SmoothView2DStore", 25, "*sms", "SmoothView2DStore", true, 136)]
public SmoothView2DStore sms;
[DNAFieldAttribute(8, "wmTimer", 26, "*smooth_timer", "wmTimer", true, 144)]
public wmTimer smooth_timer;
public View2D() {
this.tot = default;
this.cur = default;
this.vert = default;
this.hor = default;
this.mask = default;
this.min = default;
this.max = default;
this.minzoom = default;
this.maxzoom = default;
this.scroll = default;
this.scroll_ui = default;
this.keeptot = default;
this.keepzoom = default;
this.keepofs = default;
this.flag = default;
this.align = default;
this.winx = default;
this.winy = default;
this.oldwinx = default;
this.oldwiny = default;
this.around = default;
this.alpha_vert = default;
this.alpha_hor = default;
this._pad = default;
this.page_size_y = default;
this.sms = default;
this.smooth_timer = default;
}
public View2D(
rctf tot,
rctf cur,
rcti vert,
rcti hor,
rcti mask,
float[] min,
float[] max,
float minzoom,
float maxzoom,
short scroll,
short scroll_ui,
short keeptot,
short keepzoom,
short keepofs,
short flag,
short align,
short winx,
short winy,
short oldwinx,
short oldwiny,
short around,
char alpha_vert,
char alpha_hor,
char[] _pad,
float page_size_y,
SmoothView2DStore sms,
wmTimer smooth_timer) {
this.tot = tot;
this.cur = cur;
this.vert = vert;
this.hor = hor;
this.mask = mask;
this.min = min;
this.max = max;
this.minzoom = minzoom;
this.maxzoom = maxzoom;
this.scroll = scroll;
this.scroll_ui = scroll_ui;
this.keeptot = keeptot;
this.keepzoom = keepzoom;
this.keepofs = keepofs;
this.flag = flag;
this.align = align;
this.winx = winx;
this.winy = winy;
this.oldwinx = oldwinx;
this.oldwiny = oldwiny;
this.around = around;
this.alpha_vert = alpha_vert;
this.alpha_hor = alpha_hor;
this._pad = _pad;
this.page_size_y = page_size_y;
this.sms = sms;
this.smooth_timer = smooth_timer;
}
}
}