Files
BlenderSharp/BlendFile/DNA/SpaceImage.cs
2025-02-18 18:16:57 +01:00

199 lines
8.0 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(950, "SpaceImage")]
public class SpaceImage {
[DNAFieldAttribute(0, "SpaceLink", "*next", "SpaceLink", 40)]
public SpaceLink ptr_next;
[DNAFieldAttribute(1, "SpaceLink", "*prev", "SpaceLink", 40)]
public SpaceLink ptr_prev;
[DNAFieldAttribute(2, "ListBase", "regionbase", "ListBase", 16)]
public ListBase regionbase;
[DNAFieldAttribute(3, "char", "spacetype", "char", 1)]
public char spacetype;
[DNAFieldAttribute(4, "char", "link_flag", "char", 1)]
public char link_flag;
[DNAFieldAttribute(5, "char", "_pad0[6]", "System.Char[]", 1)]
public char[] _pad0 = new System.Char[6];
[DNAFieldAttribute(6, "Image", "*image", "Image", 1600)]
public Image ptr_image;
[DNAFieldAttribute(7, "ImageUser", "iuser", "ImageUser", 40)]
public ImageUser iuser;
[DNAFieldAttribute(8, "Scopes", "scopes", "Scopes", 5272)]
public Scopes scopes;
[DNAFieldAttribute(9, "Histogram", "sample_line_hist", "Histogram", 5160)]
public Histogram sample_line_hist;
[DNAFieldAttribute(10, "bGPdata", "*gpd", "bGPdata", 616)]
public bGPdata ptr_gpd;
[DNAFieldAttribute(11, "float", "cursor[2]", "System.Single[]", 4)]
public float[] cursor = new System.Single[2];
[DNAFieldAttribute(12, "float", "xof", "float", 4)]
public float xof;
[DNAFieldAttribute(13, "float", "yof", "float", 4)]
public float yof;
[DNAFieldAttribute(14, "float", "zoom", "float", 4)]
public float zoom;
[DNAFieldAttribute(15, "float", "centx", "float", 4)]
public float centx;
[DNAFieldAttribute(16, "float", "centy", "float", 4)]
public float centy;
[DNAFieldAttribute(17, "char", "mode", "char", 1)]
public char mode;
[DNAFieldAttribute(18, "char", "mode_prev", "char", 1)]
public char mode_prev;
[DNAFieldAttribute(19, "char", "pin", "char", 1)]
public char pin;
[DNAFieldAttribute(20, "char", "pixel_snap_mode", "char", 1)]
public char pixel_snap_mode;
[DNAFieldAttribute(21, "char", "lock", "char", 1)]
public char @lock;
[DNAFieldAttribute(22, "char", "dt_uv", "char", 1)]
public char dt_uv;
[DNAFieldAttribute(23, "char", "dt_uvstretch", "char", 1)]
public char dt_uvstretch;
[DNAFieldAttribute(24, "char", "around", "char", 1)]
public char around;
[DNAFieldAttribute(25, "char", "gizmo_flag", "char", 1)]
public char gizmo_flag;
[DNAFieldAttribute(26, "char", "grid_shape_source", "char", 1)]
public char grid_shape_source;
[DNAFieldAttribute(27, "char", "_pad1[6]", "System.Char[]", 1)]
public char[] _pad1 = new System.Char[6];
[DNAFieldAttribute(28, "int", "flag", "int", 4)]
public int flag;
[DNAFieldAttribute(29, "float", "uv_opacity", "float", 4)]
public float uv_opacity;
[DNAFieldAttribute(30, "float", "stretch_opacity", "float", 4)]
public float stretch_opacity;
[DNAFieldAttribute(31, "int", "tile_grid_shape[2]", "System.Int32[]", 4)]
public int[] tile_grid_shape = new System.Int32[2];
[DNAFieldAttribute(32, "int", "custom_grid_subdiv[2]", "System.Int32[]", 4)]
public int[] custom_grid_subdiv = new System.Int32[2];
[DNAFieldAttribute(33, "MaskSpaceInfo", "mask_info", "MaskSpaceInfo", 16)]
public MaskSpaceInfo mask_info;
[DNAFieldAttribute(34, "SpaceImageOverlay", "overlay", "SpaceImageOverlay", 8)]
public SpaceImageOverlay overlay;
public SpaceImage() {
this.ptr_next = default;
this.ptr_prev = default;
this.regionbase = default;
this.spacetype = default;
this.link_flag = default;
this._pad0 = default;
this.ptr_image = default;
this.iuser = default;
this.scopes = default;
this.sample_line_hist = default;
this.ptr_gpd = default;
this.cursor = default;
this.xof = default;
this.yof = default;
this.zoom = default;
this.centx = default;
this.centy = default;
this.mode = default;
this.mode_prev = default;
this.pin = default;
this.pixel_snap_mode = default;
this.@lock = default;
this.dt_uv = default;
this.dt_uvstretch = default;
this.around = default;
this.gizmo_flag = default;
this.grid_shape_source = default;
this._pad1 = default;
this.flag = default;
this.uv_opacity = default;
this.stretch_opacity = default;
this.tile_grid_shape = default;
this.custom_grid_subdiv = default;
this.mask_info = default;
this.overlay = default;
}
public SpaceImage(
SpaceLink ptr_next,
SpaceLink ptr_prev,
ListBase regionbase,
char spacetype,
char link_flag,
char[] _pad0,
Image ptr_image,
ImageUser iuser,
Scopes scopes,
Histogram sample_line_hist,
bGPdata ptr_gpd,
float[] cursor,
float xof,
float yof,
float zoom,
float centx,
float centy,
char mode,
char mode_prev,
char pin,
char pixel_snap_mode,
char @lock,
char dt_uv,
char dt_uvstretch,
char around,
char gizmo_flag,
char grid_shape_source,
char[] _pad1,
int flag,
float uv_opacity,
float stretch_opacity,
int[] tile_grid_shape,
int[] custom_grid_subdiv,
MaskSpaceInfo mask_info,
SpaceImageOverlay overlay) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.regionbase = regionbase;
this.spacetype = spacetype;
this.link_flag = link_flag;
this._pad0 = _pad0;
this.ptr_image = ptr_image;
this.iuser = iuser;
this.scopes = scopes;
this.sample_line_hist = sample_line_hist;
this.ptr_gpd = ptr_gpd;
this.cursor = cursor;
this.xof = xof;
this.yof = yof;
this.zoom = zoom;
this.centx = centx;
this.centy = centy;
this.mode = mode;
this.mode_prev = mode_prev;
this.pin = pin;
this.pixel_snap_mode = pixel_snap_mode;
this.@lock = @lock;
this.dt_uv = dt_uv;
this.dt_uvstretch = dt_uvstretch;
this.around = around;
this.gizmo_flag = gizmo_flag;
this.grid_shape_source = grid_shape_source;
this._pad1 = _pad1;
this.flag = flag;
this.uv_opacity = uv_opacity;
this.stretch_opacity = stretch_opacity;
this.tile_grid_shape = tile_grid_shape;
this.custom_grid_subdiv = custom_grid_subdiv;
this.mask_info = mask_info;
this.overlay = overlay;
}
}
}