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

109 lines
4.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(284, "ArrayGpencilModifierData")]
public class ArrayGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", "GpencilModifierData", 104)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "Object", "*object", "Object", 1160)]
public Object ptr_object;
[DNAFieldAttribute(2, "Material", "*material", "Material", 392)]
public Material ptr_material;
[DNAFieldAttribute(3, "int", "count", "int", 4)]
public int count;
[DNAFieldAttribute(4, "int", "flag", "int", 4)]
public int flag;
[DNAFieldAttribute(5, "float", "offset[3]", "System.Single[]", 4)]
public float[] offset = new System.Single[3];
[DNAFieldAttribute(6, "float", "shift[3]", "System.Single[]", 4)]
public float[] shift = new System.Single[3];
[DNAFieldAttribute(7, "float", "rnd_offset[3]", "System.Single[]", 4)]
public float[] rnd_offset = new System.Single[3];
[DNAFieldAttribute(8, "float", "rnd_rot[3]", "System.Single[]", 4)]
public float[] rnd_rot = new System.Single[3];
[DNAFieldAttribute(9, "float", "rnd_scale[3]", "System.Single[]", 4)]
public float[] rnd_scale = new System.Single[3];
[DNAFieldAttribute(10, "char", "_pad[4]", "System.Char[]", 1)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(11, "int", "seed", "int", 4)]
public int seed;
[DNAFieldAttribute(12, "int", "pass_index", "int", 4)]
public int pass_index;
[DNAFieldAttribute(13, "char", "layername[64]", "System.Char[]", 1)]
public char[] layername = new System.Char[64];
[DNAFieldAttribute(14, "char", "materialname[64]", "System.Char[]", 1)]
public char[] materialname = new System.Char[64];
[DNAFieldAttribute(15, "int", "mat_rpl", "int", 4)]
public int mat_rpl;
[DNAFieldAttribute(16, "int", "layer_pass", "int", 4)]
public int layer_pass;
public ArrayGpencilModifierData() {
this.modifier = default;
this.ptr_object = default;
this.ptr_material = default;
this.count = default;
this.flag = default;
this.offset = default;
this.shift = default;
this.rnd_offset = default;
this.rnd_rot = default;
this.rnd_scale = default;
this._pad = default;
this.seed = default;
this.pass_index = default;
this.layername = default;
this.materialname = default;
this.mat_rpl = default;
this.layer_pass = default;
}
public ArrayGpencilModifierData(
GpencilModifierData modifier,
Object ptr_object,
Material ptr_material,
int count,
int flag,
float[] offset,
float[] shift,
float[] rnd_offset,
float[] rnd_rot,
float[] rnd_scale,
char[] _pad,
int seed,
int pass_index,
char[] layername,
char[] materialname,
int mat_rpl,
int layer_pass) {
this.modifier = modifier;
this.ptr_object = ptr_object;
this.ptr_material = ptr_material;
this.count = count;
this.flag = flag;
this.offset = offset;
this.shift = shift;
this.rnd_offset = rnd_offset;
this.rnd_rot = rnd_rot;
this.rnd_scale = rnd_scale;
this._pad = _pad;
this.seed = seed;
this.pass_index = pass_index;
this.layername = layername;
this.materialname = materialname;
this.mat_rpl = mat_rpl;
this.layer_pass = layer_pass;
}
}
}