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