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

109 lines
4.7 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")]
public class GreasePencilLayer {
[DNAFieldAttribute(0, "GreasePencilLayerTreeNode", "base", "GreasePencilLayerTreeNode", 40)]
public GreasePencilLayerTreeNode @base;
[DNAFieldAttribute(1, "GreasePencilLayerFramesMapStorage", "frames_storage", "GreasePencilLayerFramesMapStorage", 24)]
public GreasePencilLayerFramesMapStorage frames_storage;
[DNAFieldAttribute(2, "int8_t", "blend_mode", "int8_t", 1)]
public sbyte blend_mode;
[DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 1)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(4, "float", "opacity", "float", 4)]
public float opacity;
[DNAFieldAttribute(5, "ListBase", "masks", "ListBase", 16)]
public ListBase masks;
[DNAFieldAttribute(6, "int", "active_mask_index", "int", 4)]
public int active_mask_index;
[DNAFieldAttribute(7, "char", "_pad2[4]", "System.Char[]", 1)]
public char[] _pad2 = new System.Char[4];
[DNAFieldAttribute(8, "Object", "*parent", "Object", 1160)]
public Object ptr_parent;
[DNAFieldAttribute(9, "char", "*parsubstr", "char", 1)]
public char ptr_parsubstr;
[DNAFieldAttribute(10, "float", "parentinv[4][4]", "System.Single[,]", 4)]
public float[,] parentinv = new System.Single[4,4];
[DNAFieldAttribute(11, "float", "translation[3]", "System.Single[]", 4)]
public float[] translation = new System.Single[3];
[DNAFieldAttribute(12, "float", "rotation[3]", "System.Single[]", 4)]
public float[] rotation = new System.Single[3];
[DNAFieldAttribute(13, "float", "scale[3]", "System.Single[]", 4)]
public float[] scale = new System.Single[3];
[DNAFieldAttribute(14, "char", "_pad3[4]", "System.Char[]", 1)]
public char[] _pad3 = new System.Char[4];
[DNAFieldAttribute(15, "char", "*viewlayername", "char", 1)]
public char ptr_viewlayername;
[DNAFieldAttribute(16, "GreasePencilLayerRuntimeHandle", "*runtime", "GreasePencilLayerRuntimeHandle", 0)]
public GreasePencilLayerRuntimeHandle ptr_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.ptr_parent = default;
this.ptr_parsubstr = default;
this.parentinv = default;
this.translation = default;
this.rotation = default;
this.scale = default;
this._pad3 = default;
this.ptr_viewlayername = default;
this.ptr_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 ptr_parent,
char ptr_parsubstr,
float[,] parentinv,
float[] translation,
float[] rotation,
float[] scale,
char[] _pad3,
char ptr_viewlayername,
GreasePencilLayerRuntimeHandle ptr_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.ptr_parent = ptr_parent;
this.ptr_parsubstr = ptr_parsubstr;
this.parentinv = parentinv;
this.translation = translation;
this.rotation = rotation;
this.scale = scale;
this._pad3 = _pad3;
this.ptr_viewlayername = ptr_viewlayername;
this.ptr_runtime = ptr_runtime;
}
}
}