Files
BlenderSharp/BlendFile/DNA/GreasePencilLayer.cs
2025-03-11 19:12:04 +01:00

109 lines
4.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(317, "GreasePencilLayer", 232)]
public class GreasePencilLayer {
[DNAFieldAttribute(40, "GreasePencilLayerTreeNode", 0, "base", "GreasePencilLayerTreeNode", false, 0)]
public GreasePencilLayerTreeNode @base;
[DNAFieldAttribute(24, "GreasePencilLayerFramesMapStorage", 1, "frames_storage", "GreasePencilLayerFramesMapStorage", false, 40)]
public GreasePencilLayerFramesMapStorage frames_storage;
[DNAFieldAttribute(1, "int8_t", 2, "blend_mode", "int8_t", false, 64)]
public sbyte blend_mode;
[DNAArrayAttribute(3, "char", 3, "_pad[3]", "System.Char[]", 3, 65)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(4, "float", 4, "opacity", "float", false, 68)]
public float opacity;
[DNAFieldAttribute(16, "ListBase", 5, "masks", "ListBase", false, 72)]
public ListBase masks;
[DNAFieldAttribute(4, "int", 6, "active_mask_index", "int", false, 88)]
public int active_mask_index;
[DNAArrayAttribute(4, "char", 7, "_pad2[4]", "System.Char[]", 4, 92)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(8, "Object", 8, "*parent", "Object", true, 96)]
public Object parent;
[DNAFieldAttribute(8, "char", 9, "*parsubstr", "char", true, 104)]
public char parsubstr;
[DNAArrayAttribute(64, "float", 10, "parentinv[4][4]", "System.Single[,]", 8, 112)]
public float[,] parentinv = new System.Single[4,4];
[DNAArrayAttribute(12, "float", 11, "translation[3]", "System.Single[]", 3, 176)]
public float[] translation = new System.Single[3];
[DNAArrayAttribute(12, "float", 12, "rotation[3]", "System.Single[]", 3, 188)]
public float[] rotation = new System.Single[3];
[DNAArrayAttribute(12, "float", 13, "scale[3]", "System.Single[]", 3, 200)]
public float[] scale = new System.Single[3];
[DNAArrayAttribute(4, "char", 14, "_pad3[4]", "System.Char[]", 4, 212)]
public char[] _pad3 = new System.Char[4];
[DNAFieldAttribute(8, "char", 15, "*viewlayername", "char", true, 216)]
public char viewlayername;
[DNAFieldAttribute(8, "GreasePencilLayerRuntimeHandle", 16, "*runtime", "GreasePencilLayerRuntimeHandle", true, 224)]
public GreasePencilLayerRuntimeHandle runtime;
public GreasePencilLayer() {
this.@base = default;
this.frames_storage = default;
this.blend_mode = default;
this._pad = default;
this.opacity = default;
this.masks = default;
this.active_mask_index = default;
this._pad2 = default;
this.parent = default;
this.parsubstr = default;
this.parentinv = default;
this.translation = default;
this.rotation = default;
this.scale = default;
this._pad3 = default;
this.viewlayername = default;
this.runtime = default;
}
public GreasePencilLayer(
GreasePencilLayerTreeNode @base,
GreasePencilLayerFramesMapStorage frames_storage,
sbyte blend_mode,
char[] _pad,
float opacity,
ListBase masks,
int active_mask_index,
char[] _pad2,
Object parent,
char parsubstr,
float[,] parentinv,
float[] translation,
float[] rotation,
float[] scale,
char[] _pad3,
char viewlayername,
GreasePencilLayerRuntimeHandle runtime) {
this.@base = @base;
this.frames_storage = frames_storage;
this.blend_mode = blend_mode;
this._pad = _pad;
this.opacity = opacity;
this.masks = masks;
this.active_mask_index = active_mask_index;
this._pad2 = _pad2;
this.parent = parent;
this.parsubstr = parsubstr;
this.parentinv = parentinv;
this.translation = translation;
this.rotation = rotation;
this.scale = scale;
this._pad3 = _pad3;
this.viewlayername = viewlayername;
this.runtime = runtime;
}
}
}