121 lines
5.1 KiB
C#
121 lines
5.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;
|
|
|
|
public class MaterialGPencilStyle {
|
|
[DNAFieldAttribute(0, "Image", "*sima", 1600)]
|
|
public Image ptr_sima;
|
|
[DNAFieldAttribute(1, "Image", "*ima", 1600)]
|
|
public Image ptr_ima;
|
|
[DNAFieldAttribute(2, "float", "stroke_rgba[4]", 4)]
|
|
public float[] stroke_rgba = new System.Single[4];
|
|
[DNAFieldAttribute(3, "float", "fill_rgba[4]", 4)]
|
|
public float[] fill_rgba = new System.Single[4];
|
|
[DNAFieldAttribute(4, "float", "mix_rgba[4]", 4)]
|
|
public float[] mix_rgba = new System.Single[4];
|
|
[DNAFieldAttribute(5, "short", "flag", 2)]
|
|
public short flag;
|
|
[DNAFieldAttribute(6, "short", "index", 2)]
|
|
public short index;
|
|
[DNAFieldAttribute(7, "short", "stroke_style", 2)]
|
|
public short stroke_style;
|
|
[DNAFieldAttribute(8, "short", "fill_style", 2)]
|
|
public short fill_style;
|
|
[DNAFieldAttribute(9, "float", "mix_factor", 4)]
|
|
public float mix_factor;
|
|
[DNAFieldAttribute(10, "float", "gradient_angle", 4)]
|
|
public float gradient_angle;
|
|
[DNAFieldAttribute(11, "float", "gradient_radius", 4)]
|
|
public float gradient_radius;
|
|
[DNAFieldAttribute(12, "char", "_pad2[4]", 1)]
|
|
public char[] _pad2 = new System.Char[4];
|
|
[DNAFieldAttribute(13, "float", "gradient_scale[2]", 4)]
|
|
public float[] gradient_scale = new System.Single[2];
|
|
[DNAFieldAttribute(14, "float", "gradient_shift[2]", 4)]
|
|
public float[] gradient_shift = new System.Single[2];
|
|
[DNAFieldAttribute(15, "float", "texture_angle", 4)]
|
|
public float texture_angle;
|
|
[DNAFieldAttribute(16, "float", "texture_scale[2]", 4)]
|
|
public float[] texture_scale = new System.Single[2];
|
|
[DNAFieldAttribute(17, "float", "texture_offset[2]", 4)]
|
|
public float[] texture_offset = new System.Single[2];
|
|
[DNAFieldAttribute(18, "float", "texture_opacity", 4)]
|
|
public float texture_opacity;
|
|
[DNAFieldAttribute(19, "float", "texture_pixsize", 4)]
|
|
public float texture_pixsize;
|
|
[DNAFieldAttribute(20, "int", "mode", 4)]
|
|
public int mode;
|
|
[DNAFieldAttribute(21, "int", "gradient_type", 4)]
|
|
public int gradient_type;
|
|
[DNAFieldAttribute(22, "float", "mix_stroke_factor", 4)]
|
|
public float mix_stroke_factor;
|
|
[DNAFieldAttribute(23, "int", "alignment_mode", 4)]
|
|
public int alignment_mode;
|
|
[DNAFieldAttribute(24, "float", "alignment_rotation", 4)]
|
|
public float alignment_rotation;
|
|
public MaterialGPencilStyle(
|
|
Image ptr_sima,
|
|
Image ptr_ima,
|
|
float[] stroke_rgba,
|
|
float[] fill_rgba,
|
|
float[] mix_rgba,
|
|
short flag,
|
|
short index,
|
|
short stroke_style,
|
|
short fill_style,
|
|
float mix_factor,
|
|
float gradient_angle,
|
|
float gradient_radius,
|
|
char[] _pad2,
|
|
float[] gradient_scale,
|
|
float[] gradient_shift,
|
|
float texture_angle,
|
|
float[] texture_scale,
|
|
float[] texture_offset,
|
|
float texture_opacity,
|
|
float texture_pixsize,
|
|
int mode,
|
|
int gradient_type,
|
|
float mix_stroke_factor,
|
|
int alignment_mode,
|
|
float alignment_rotation) {
|
|
this.ptr_sima = ptr_sima;
|
|
this.ptr_ima = ptr_ima;
|
|
this.stroke_rgba = stroke_rgba;
|
|
this.fill_rgba = fill_rgba;
|
|
this.mix_rgba = mix_rgba;
|
|
this.flag = flag;
|
|
this.index = index;
|
|
this.stroke_style = stroke_style;
|
|
this.fill_style = fill_style;
|
|
this.mix_factor = mix_factor;
|
|
this.gradient_angle = gradient_angle;
|
|
this.gradient_radius = gradient_radius;
|
|
this._pad2 = _pad2;
|
|
this.gradient_scale = gradient_scale;
|
|
this.gradient_shift = gradient_shift;
|
|
this.texture_angle = texture_angle;
|
|
this.texture_scale = texture_scale;
|
|
this.texture_offset = texture_offset;
|
|
this.texture_opacity = texture_opacity;
|
|
this.texture_pixsize = texture_pixsize;
|
|
this.mode = mode;
|
|
this.gradient_type = gradient_type;
|
|
this.mix_stroke_factor = mix_stroke_factor;
|
|
this.alignment_mode = alignment_mode;
|
|
this.alignment_rotation = alignment_rotation;
|
|
}
|
|
}
|
|
}
|