164 lines
8.4 KiB
C#
164 lines
8.4 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(1027, "View3DOverlay", 128)]
|
|
public struct View3DOverlay {
|
|
[DNAFieldAttribute(0, "int", "flag", "int", 4, false, 0)]
|
|
public int flag;
|
|
[DNAFieldAttribute(1, "int", "edit_flag", "int", 4, false, 4)]
|
|
public int edit_flag;
|
|
[DNAFieldAttribute(2, "float", "normals_length", "float", 4, false, 8)]
|
|
public float normals_length;
|
|
[DNAFieldAttribute(3, "float", "normals_constant_screen_size", "float", 4, false, 12)]
|
|
public float normals_constant_screen_size;
|
|
[DNAFieldAttribute(4, "int", "paint_flag", "int", 4, false, 16)]
|
|
public int paint_flag;
|
|
[DNAFieldAttribute(5, "int", "wpaint_flag", "int", 4, false, 20)]
|
|
public int wpaint_flag;
|
|
[DNAFieldAttribute(6, "float", "texture_paint_mode_opacity", "float", 4, false, 24)]
|
|
public float texture_paint_mode_opacity;
|
|
[DNAFieldAttribute(7, "float", "vertex_paint_mode_opacity", "float", 4, false, 28)]
|
|
public float vertex_paint_mode_opacity;
|
|
[DNAFieldAttribute(8, "float", "weight_paint_mode_opacity", "float", 4, false, 32)]
|
|
public float weight_paint_mode_opacity;
|
|
[DNAFieldAttribute(9, "float", "sculpt_mode_mask_opacity", "float", 4, false, 36)]
|
|
public float sculpt_mode_mask_opacity;
|
|
[DNAFieldAttribute(10, "float", "sculpt_mode_face_sets_opacity", "float", 4, false, 40)]
|
|
public float sculpt_mode_face_sets_opacity;
|
|
[DNAFieldAttribute(11, "float", "viewer_attribute_opacity", "float", 4, false, 44)]
|
|
public float viewer_attribute_opacity;
|
|
[DNAFieldAttribute(12, "float", "xray_alpha_bone", "float", 4, false, 48)]
|
|
public float xray_alpha_bone;
|
|
[DNAFieldAttribute(13, "float", "bone_wire_alpha", "float", 4, false, 52)]
|
|
public float bone_wire_alpha;
|
|
[DNAFieldAttribute(14, "float", "fade_alpha", "float", 4, false, 56)]
|
|
public float fade_alpha;
|
|
[DNAFieldAttribute(15, "float", "wireframe_threshold", "float", 4, false, 60)]
|
|
public float wireframe_threshold;
|
|
[DNAFieldAttribute(16, "float", "wireframe_opacity", "float", 4, false, 64)]
|
|
public float wireframe_opacity;
|
|
[DNAFieldAttribute(17, "float", "retopology_offset", "float", 4, false, 68)]
|
|
public float retopology_offset;
|
|
[DNAFieldAttribute(18, "float", "gpencil_paper_opacity", "float", 4, false, 72)]
|
|
public float gpencil_paper_opacity;
|
|
[DNAFieldAttribute(19, "float", "gpencil_grid_opacity", "float", 4, false, 76)]
|
|
public float gpencil_grid_opacity;
|
|
[DNAFieldAttribute(20, "float", "gpencil_fade_layer", "float", 4, false, 80)]
|
|
public float gpencil_fade_layer;
|
|
[DNAFieldAttribute(21, "float", "gpencil_grid_color[3]", "System.Single[]", 12, false, 84)]
|
|
public float[] gpencil_grid_color = new System.Single[3];
|
|
[DNAFieldAttribute(22, "float", "gpencil_grid_scale[2]", "System.Single[]", 8, false, 96)]
|
|
public float[] gpencil_grid_scale = new System.Single[2];
|
|
[DNAFieldAttribute(23, "float", "gpencil_grid_offset[2]", "System.Single[]", 8, false, 104)]
|
|
public float[] gpencil_grid_offset = new System.Single[2];
|
|
[DNAFieldAttribute(24, "int", "gpencil_grid_subdivisions", "int", 4, false, 112)]
|
|
public int gpencil_grid_subdivisions;
|
|
[DNAFieldAttribute(25, "float", "gpencil_vertex_paint_opacity", "float", 4, false, 116)]
|
|
public float gpencil_vertex_paint_opacity;
|
|
[DNAFieldAttribute(26, "int", "handle_display", "int", 4, false, 120)]
|
|
public int handle_display;
|
|
[DNAFieldAttribute(27, "float", "sculpt_curves_cage_opacity", "float", 4, false, 124)]
|
|
public float sculpt_curves_cage_opacity;
|
|
public View3DOverlay() {
|
|
this.flag = default;
|
|
this.edit_flag = default;
|
|
this.normals_length = default;
|
|
this.normals_constant_screen_size = default;
|
|
this.paint_flag = default;
|
|
this.wpaint_flag = default;
|
|
this.texture_paint_mode_opacity = default;
|
|
this.vertex_paint_mode_opacity = default;
|
|
this.weight_paint_mode_opacity = default;
|
|
this.sculpt_mode_mask_opacity = default;
|
|
this.sculpt_mode_face_sets_opacity = default;
|
|
this.viewer_attribute_opacity = default;
|
|
this.xray_alpha_bone = default;
|
|
this.bone_wire_alpha = default;
|
|
this.fade_alpha = default;
|
|
this.wireframe_threshold = default;
|
|
this.wireframe_opacity = default;
|
|
this.retopology_offset = default;
|
|
this.gpencil_paper_opacity = default;
|
|
this.gpencil_grid_opacity = default;
|
|
this.gpencil_fade_layer = default;
|
|
this.gpencil_grid_color = default;
|
|
this.gpencil_grid_scale = default;
|
|
this.gpencil_grid_offset = default;
|
|
this.gpencil_grid_subdivisions = default;
|
|
this.gpencil_vertex_paint_opacity = default;
|
|
this.handle_display = default;
|
|
this.sculpt_curves_cage_opacity = default;
|
|
}
|
|
public View3DOverlay(
|
|
int flag,
|
|
int edit_flag,
|
|
float normals_length,
|
|
float normals_constant_screen_size,
|
|
int paint_flag,
|
|
int wpaint_flag,
|
|
float texture_paint_mode_opacity,
|
|
float vertex_paint_mode_opacity,
|
|
float weight_paint_mode_opacity,
|
|
float sculpt_mode_mask_opacity,
|
|
float sculpt_mode_face_sets_opacity,
|
|
float viewer_attribute_opacity,
|
|
float xray_alpha_bone,
|
|
float bone_wire_alpha,
|
|
float fade_alpha,
|
|
float wireframe_threshold,
|
|
float wireframe_opacity,
|
|
float retopology_offset,
|
|
float gpencil_paper_opacity,
|
|
float gpencil_grid_opacity,
|
|
float gpencil_fade_layer,
|
|
float[] gpencil_grid_color,
|
|
float[] gpencil_grid_scale,
|
|
float[] gpencil_grid_offset,
|
|
int gpencil_grid_subdivisions,
|
|
float gpencil_vertex_paint_opacity,
|
|
int handle_display,
|
|
float sculpt_curves_cage_opacity) {
|
|
this.flag = flag;
|
|
this.edit_flag = edit_flag;
|
|
this.normals_length = normals_length;
|
|
this.normals_constant_screen_size = normals_constant_screen_size;
|
|
this.paint_flag = paint_flag;
|
|
this.wpaint_flag = wpaint_flag;
|
|
this.texture_paint_mode_opacity = texture_paint_mode_opacity;
|
|
this.vertex_paint_mode_opacity = vertex_paint_mode_opacity;
|
|
this.weight_paint_mode_opacity = weight_paint_mode_opacity;
|
|
this.sculpt_mode_mask_opacity = sculpt_mode_mask_opacity;
|
|
this.sculpt_mode_face_sets_opacity = sculpt_mode_face_sets_opacity;
|
|
this.viewer_attribute_opacity = viewer_attribute_opacity;
|
|
this.xray_alpha_bone = xray_alpha_bone;
|
|
this.bone_wire_alpha = bone_wire_alpha;
|
|
this.fade_alpha = fade_alpha;
|
|
this.wireframe_threshold = wireframe_threshold;
|
|
this.wireframe_opacity = wireframe_opacity;
|
|
this.retopology_offset = retopology_offset;
|
|
this.gpencil_paper_opacity = gpencil_paper_opacity;
|
|
this.gpencil_grid_opacity = gpencil_grid_opacity;
|
|
this.gpencil_fade_layer = gpencil_fade_layer;
|
|
this.gpencil_grid_color = gpencil_grid_color;
|
|
this.gpencil_grid_scale = gpencil_grid_scale;
|
|
this.gpencil_grid_offset = gpencil_grid_offset;
|
|
this.gpencil_grid_subdivisions = gpencil_grid_subdivisions;
|
|
this.gpencil_vertex_paint_opacity = gpencil_vertex_paint_opacity;
|
|
this.handle_display = handle_display;
|
|
this.sculpt_curves_cage_opacity = sculpt_curves_cage_opacity;
|
|
}
|
|
}
|
|
}
|