//------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using System; namespace BlendFile.DNA { using BlendFile; [DNAClassAttribute(317, "GreasePencilLayer", 232)] public class GreasePencilLayer { [DNAFieldAttribute(0, "GreasePencilLayerTreeNode", "base", "GreasePencilLayerTreeNode", 40, false, 0)] public GreasePencilLayerTreeNode @base; [DNAFieldAttribute(1, "GreasePencilLayerFramesMapStorage", "frames_storage", "GreasePencilLayerFramesMapStorage", 24, false, 40)] public GreasePencilLayerFramesMapStorage frames_storage; [DNAFieldAttribute(2, "int8_t", "blend_mode", "int8_t", 1, false, 64)] public sbyte blend_mode; [DNAFieldAttribute(3, "char", "_pad[3]", "System.Char[]", 3, false, 65)] public char[] _pad = new System.Char[3]; [DNAFieldAttribute(4, "float", "opacity", "float", 4, false, 68)] public float opacity; [DNAFieldAttribute(5, "ListBase", "masks", "ListBase", 16, false, 72)] public ListBase masks; [DNAFieldAttribute(6, "int", "active_mask_index", "int", 4, false, 88)] public int active_mask_index; [DNAFieldAttribute(7, "char", "_pad2[4]", "System.Char[]", 4, false, 92)] public char[] _pad2 = new System.Char[4]; [DNAFieldAttribute(8, "Object", "*parent", "Object", 8, true, 96)] public Object ptr_parent; [DNAFieldAttribute(9, "char", "*parsubstr", "char", 8, true, 104)] public char ptr_parsubstr; [DNAFieldAttribute(10, "float", "parentinv[4][4]", "System.Single[,]", 64, false, 112)] public float[,] parentinv = new System.Single[4,4]; [DNAFieldAttribute(11, "float", "translation[3]", "System.Single[]", 12, false, 176)] public float[] translation = new System.Single[3]; [DNAFieldAttribute(12, "float", "rotation[3]", "System.Single[]", 12, false, 188)] public float[] rotation = new System.Single[3]; [DNAFieldAttribute(13, "float", "scale[3]", "System.Single[]", 12, false, 200)] public float[] scale = new System.Single[3]; [DNAFieldAttribute(14, "char", "_pad3[4]", "System.Char[]", 4, false, 212)] public char[] _pad3 = new System.Char[4]; [DNAFieldAttribute(15, "char", "*viewlayername", "char", 8, true, 216)] public char ptr_viewlayername; [DNAFieldAttribute(16, "GreasePencilLayerRuntimeHandle", "*runtime", "GreasePencilLayerRuntimeHandle", 8, true, 224)] 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; } } }