Files
BlenderSharp/BlendFile/DNA/BuildGpencilModifierData.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

118 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(285, "BuildGpencilModifierData")]
public class BuildGpencilModifierData {
[DNAFieldAttribute(0, "GpencilModifierData", "modifier", 104)]
public GpencilModifierData modifier;
[DNAFieldAttribute(1, "Material", "*material", 392)]
public Material ptr_material;
[DNAFieldAttribute(2, "char", "layername[64]", 1)]
public char[] layername = new System.Char[64];
[DNAFieldAttribute(3, "int", "pass_index", 4)]
public int pass_index;
[DNAFieldAttribute(4, "char", "materialname[64]", 1)]
public char[] materialname = new System.Char[64];
[DNAFieldAttribute(5, "int", "layer_pass", 4)]
public int layer_pass;
[DNAFieldAttribute(6, "float", "start_frame", 4)]
public float start_frame;
[DNAFieldAttribute(7, "float", "end_frame", 4)]
public float end_frame;
[DNAFieldAttribute(8, "float", "start_delay", 4)]
public float start_delay;
[DNAFieldAttribute(9, "float", "length", 4)]
public float length;
[DNAFieldAttribute(10, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(11, "short", "mode", 2)]
public short mode;
[DNAFieldAttribute(12, "short", "transition", 2)]
public short transition;
[DNAFieldAttribute(13, "short", "time_alignment", 2)]
public short time_alignment;
[DNAFieldAttribute(14, "float", "speed_fac", 4)]
public float speed_fac;
[DNAFieldAttribute(15, "float", "speed_maxgap", 4)]
public float speed_maxgap;
[DNAFieldAttribute(16, "short", "time_mode", 2)]
public short time_mode;
[DNAFieldAttribute(17, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6];
[DNAFieldAttribute(18, "Object", "*object", 1160)]
public Object ptr_object;
[DNAFieldAttribute(19, "float", "percentage_fac", 4)]
public float percentage_fac;
[DNAFieldAttribute(20, "float", "fade_fac", 4)]
public float fade_fac;
[DNAFieldAttribute(21, "char", "target_vgname[64]", 1)]
public char[] target_vgname = new System.Char[64];
[DNAFieldAttribute(22, "float", "fade_opacity_strength", 4)]
public float fade_opacity_strength;
[DNAFieldAttribute(23, "float", "fade_thickness_strength", 4)]
public float fade_thickness_strength;
public BuildGpencilModifierData(
GpencilModifierData modifier,
Material ptr_material,
char[] layername,
int pass_index,
char[] materialname,
int layer_pass,
float start_frame,
float end_frame,
float start_delay,
float length,
short flag,
short mode,
short transition,
short time_alignment,
float speed_fac,
float speed_maxgap,
short time_mode,
char[] _pad,
Object ptr_object,
float percentage_fac,
float fade_fac,
char[] target_vgname,
float fade_opacity_strength,
float fade_thickness_strength) {
this.modifier = modifier;
this.ptr_material = ptr_material;
this.layername = layername;
this.pass_index = pass_index;
this.materialname = materialname;
this.layer_pass = layer_pass;
this.start_frame = start_frame;
this.end_frame = end_frame;
this.start_delay = start_delay;
this.length = length;
this.flag = flag;
this.mode = mode;
this.transition = transition;
this.time_alignment = time_alignment;
this.speed_fac = speed_fac;
this.speed_maxgap = speed_maxgap;
this.time_mode = time_mode;
this._pad = _pad;
this.ptr_object = ptr_object;
this.percentage_fac = percentage_fac;
this.fade_fac = fade_fac;
this.target_vgname = target_vgname;
this.fade_opacity_strength = fade_opacity_strength;
this.fade_thickness_strength = fade_thickness_strength;
}
}
}