Files
BlenderSharp/BlendFile/DNA/FreestyleLineStyle.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

202 lines
7.8 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(250, "FreestyleLineStyle")]
public class FreestyleLineStyle {
[DNAFieldAttribute(0, "ID", "id", 208)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", 248)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "float", "r", 4)]
public float r;
[DNAFieldAttribute(3, "float", "g", 4)]
public float g;
[DNAFieldAttribute(4, "float", "b", 4)]
public float b;
[DNAFieldAttribute(5, "float", "alpha", 4)]
public float alpha;
[DNAFieldAttribute(6, "float", "thickness", 4)]
public float thickness;
[DNAFieldAttribute(7, "int", "thickness_position", 4)]
public int thickness_position;
[DNAFieldAttribute(8, "float", "thickness_ratio", 4)]
public float thickness_ratio;
[DNAFieldAttribute(9, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(10, "int", "caps", 4)]
public int caps;
[DNAFieldAttribute(11, "int", "chaining", 4)]
public int chaining;
[DNAFieldAttribute(12, "int", "rounds", 4)]
public int rounds;
[DNAFieldAttribute(13, "float", "split_length", 4)]
public float split_length;
[DNAFieldAttribute(14, "float", "min_angle", 4)]
public float min_angle;
[DNAFieldAttribute(15, "float", "max_angle", 4)]
public float max_angle;
[DNAFieldAttribute(16, "float", "min_length", 4)]
public float min_length;
[DNAFieldAttribute(17, "float", "max_length", 4)]
public float max_length;
[DNAFieldAttribute(18, "int", "chain_count", 4)]
public int chain_count;
[DNAFieldAttribute(19, "short", "split_dash1", 2)]
public short split_dash1;
[DNAFieldAttribute(20, "short", "split_gap1", 2)]
public short split_gap1;
[DNAFieldAttribute(21, "short", "split_dash2", 2)]
public short split_dash2;
[DNAFieldAttribute(22, "short", "split_gap2", 2)]
public short split_gap2;
[DNAFieldAttribute(23, "short", "split_dash3", 2)]
public short split_dash3;
[DNAFieldAttribute(24, "short", "split_gap3", 2)]
public short split_gap3;
[DNAFieldAttribute(25, "int", "sort_key", 4)]
public int sort_key;
[DNAFieldAttribute(26, "int", "integration_type", 4)]
public int integration_type;
[DNAFieldAttribute(27, "float", "texstep", 4)]
public float texstep;
[DNAFieldAttribute(28, "short", "texact", 2)]
public short texact;
[DNAFieldAttribute(29, "short", "pr_texture", 2)]
public short pr_texture;
[DNAFieldAttribute(30, "short", "use_nodes", 2)]
public short use_nodes;
[DNAFieldAttribute(31, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6];
[DNAFieldAttribute(32, "short", "dash1", 2)]
public short dash1;
[DNAFieldAttribute(33, "short", "gap1", 2)]
public short gap1;
[DNAFieldAttribute(34, "short", "dash2", 2)]
public short dash2;
[DNAFieldAttribute(35, "short", "gap2", 2)]
public short gap2;
[DNAFieldAttribute(36, "short", "dash3", 2)]
public short dash3;
[DNAFieldAttribute(37, "short", "gap3", 2)]
public short gap3;
[DNAFieldAttribute(38, "int", "panel", 4)]
public int panel;
[DNAFieldAttribute(39, "MTex", "*mtex[18]", 216)]
public MTex[] ptr_m = new MTex[18];
[DNAFieldAttribute(40, "bNodeTree", "*nodetree", 544)]
public bNodeTree ptr_nodetree;
[DNAFieldAttribute(41, "ListBase", "color_modifiers", 16)]
public ListBase color_modifiers;
[DNAFieldAttribute(42, "ListBase", "alpha_modifiers", 16)]
public ListBase alpha_modifiers;
[DNAFieldAttribute(43, "ListBase", "thickness_modifiers", 16)]
public ListBase thickness_modifiers;
[DNAFieldAttribute(44, "ListBase", "geometry_modifiers", 16)]
public ListBase geometry_modifiers;
public FreestyleLineStyle(
ID id,
AnimData ptr_adt,
float r,
float g,
float b,
float alpha,
float thickness,
int thickness_position,
float thickness_ratio,
int flag,
int caps,
int chaining,
int rounds,
float split_length,
float min_angle,
float max_angle,
float min_length,
float max_length,
int chain_count,
short split_dash1,
short split_gap1,
short split_dash2,
short split_gap2,
short split_dash3,
short split_gap3,
int sort_key,
int integration_type,
float texstep,
short texact,
short pr_texture,
short use_nodes,
char[] _pad,
short dash1,
short gap1,
short dash2,
short gap2,
short dash3,
short gap3,
int panel,
MTex[] ptr_m,
bNodeTree ptr_nodetree,
ListBase color_modifiers,
ListBase alpha_modifiers,
ListBase thickness_modifiers,
ListBase geometry_modifiers) {
this.id = id;
this.ptr_adt = ptr_adt;
this.r = r;
this.g = g;
this.b = b;
this.alpha = alpha;
this.thickness = thickness;
this.thickness_position = thickness_position;
this.thickness_ratio = thickness_ratio;
this.flag = flag;
this.caps = caps;
this.chaining = chaining;
this.rounds = rounds;
this.split_length = split_length;
this.min_angle = min_angle;
this.max_angle = max_angle;
this.min_length = min_length;
this.max_length = max_length;
this.chain_count = chain_count;
this.split_dash1 = split_dash1;
this.split_gap1 = split_gap1;
this.split_dash2 = split_dash2;
this.split_gap2 = split_gap2;
this.split_dash3 = split_dash3;
this.split_gap3 = split_gap3;
this.sort_key = sort_key;
this.integration_type = integration_type;
this.texstep = texstep;
this.texact = texact;
this.pr_texture = pr_texture;
this.use_nodes = use_nodes;
this._pad = _pad;
this.dash1 = dash1;
this.gap1 = gap1;
this.dash2 = dash2;
this.gap2 = gap2;
this.dash3 = dash3;
this.gap3 = gap3;
this.panel = panel;
this.ptr_m = ptr_m;
this.ptr_nodetree = ptr_nodetree;
this.color_modifiers = color_modifiers;
this.alpha_modifiers = alpha_modifiers;
this.thickness_modifiers = thickness_modifiers;
this.geometry_modifiers = geometry_modifiers;
}
}
}