Files
BlenderSharp/BlendFile/DNA/bGPDcurve_point.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

52 lines
1.9 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(259, "bGPDcurve_point")]
public struct bGPDcurve_point {
[DNAFieldAttribute(0, "BezTriple", "bezt", 72)]
public BezTriple bezt;
[DNAFieldAttribute(1, "float", "pressure", 4)]
public float pressure;
[DNAFieldAttribute(2, "float", "strength", 4)]
public float strength;
[DNAFieldAttribute(3, "int", "point_index", 4)]
public int point_index;
[DNAFieldAttribute(4, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(5, "float", "uv_fac", 4)]
public float uv_fac;
[DNAFieldAttribute(6, "float", "uv_rot", 4)]
public float uv_rot;
[DNAFieldAttribute(7, "float", "uv_fill[2]", 4)]
public float[] uv_fill = new System.Single[2];
[DNAFieldAttribute(8, "float", "vert_color[4]", 4)]
public float[] vert_color = new System.Single[4];
[DNAFieldAttribute(9, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
public bGPDcurve_point(BezTriple bezt, float pressure, float strength, int point_index, int flag, float uv_fac, float uv_rot, float[] uv_fill, float[] vert_color, char[] _pad) {
this.bezt = bezt;
this.pressure = pressure;
this.strength = strength;
this.point_index = point_index;
this.flag = flag;
this.uv_fac = uv_fac;
this.uv_rot = uv_rot;
this.uv_fill = uv_fill;
this.vert_color = vert_color;
this._pad = _pad;
}
}
}