Files
BlenderSharp/BlendFile/DNA/Paint.cs
2025-02-19 17:07:50 +01:00

84 lines
4.3 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(807, "Paint")]
public class Paint {
[DNAFieldAttribute(0, "Brush", "*brush", "Brush", 4, true)]
public Brush ptr_brush;
[DNAFieldAttribute(1, "AssetWeakReference", "*brush_asset_reference", "AssetWeakReference", 4, true)]
public AssetWeakReference ptr_brush_asset_reference;
[DNAFieldAttribute(2, "Brush", "*eraser_brush", "Brush", 4, true)]
public Brush ptr_eraser_brush;
[DNAFieldAttribute(3, "AssetWeakReference", "*eraser_brush_asset_reference", "AssetWeakReference", 4, true)]
public AssetWeakReference ptr_eraser_brush_asset_reference;
[DNAFieldAttribute(4, "ToolSystemBrushBindings", "tool_brush_bindings", "ToolSystemBrushBindings", 24, false)]
public ToolSystemBrushBindings tool_brush_bindings;
[DNAFieldAttribute(5, "Palette", "*palette", "Palette", 4, true)]
public Palette ptr_palette;
[DNAFieldAttribute(6, "CurveMapping", "*cavity_curve", "CurveMapping", 4, true)]
public CurveMapping ptr_cavity_curve;
[DNAFieldAttribute(7, "void", "*paint_cursor", "void", 4, true)]
public object ptr_paint_cursor;
[DNAFieldAttribute(8, "char", "paint_cursor_col[4]", "System.Char[]", 4, false)]
public char[] paint_cursor_col = new System.Char[4];
[DNAFieldAttribute(9, "int", "flags", "int", 4, false)]
public int flags;
[DNAFieldAttribute(10, "int", "num_input_samples", "int", 4, false)]
public int num_input_samples;
[DNAFieldAttribute(11, "int", "symmetry_flags", "int", 4, false)]
public int symmetry_flags;
[DNAFieldAttribute(12, "float", "tile_offset[3]", "System.Single[]", 12, false)]
public float[] tile_offset = new System.Single[3];
[DNAFieldAttribute(13, "char", "_pad2[4]", "System.Char[]", 4, false)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(14, "Paint_Runtime", "runtime", "Paint_Runtime", 8, false)]
public Paint_Runtime runtime;
public Paint() {
this.ptr_brush = default;
this.ptr_brush_asset_reference = default;
this.ptr_eraser_brush = default;
this.ptr_eraser_brush_asset_reference = default;
this.tool_brush_bindings = default;
this.ptr_palette = default;
this.ptr_cavity_curve = default;
this.ptr_paint_cursor = default;
this.paint_cursor_col = default;
this.flags = default;
this.num_input_samples = default;
this.symmetry_flags = default;
this.tile_offset = default;
this._pad2 = default;
this.runtime = default;
}
public Paint(Brush ptr_brush, AssetWeakReference ptr_brush_asset_reference, Brush ptr_eraser_brush, AssetWeakReference ptr_eraser_brush_asset_reference, ToolSystemBrushBindings tool_brush_bindings, Palette ptr_palette, CurveMapping ptr_cavity_curve, object ptr_paint_cursor, char[] paint_cursor_col, int flags, int num_input_samples, int symmetry_flags, float[] tile_offset, char[] _pad2, Paint_Runtime runtime) {
this.ptr_brush = ptr_brush;
this.ptr_brush_asset_reference = ptr_brush_asset_reference;
this.ptr_eraser_brush = ptr_eraser_brush;
this.ptr_eraser_brush_asset_reference = ptr_eraser_brush_asset_reference;
this.tool_brush_bindings = tool_brush_bindings;
this.ptr_palette = ptr_palette;
this.ptr_cavity_curve = ptr_cavity_curve;
this.ptr_paint_cursor = ptr_paint_cursor;
this.paint_cursor_col = paint_cursor_col;
this.flags = flags;
this.num_input_samples = num_input_samples;
this.symmetry_flags = symmetry_flags;
this.tile_offset = tile_offset;
this._pad2 = _pad2;
this.runtime = runtime;
}
}
}