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

46 lines
1.5 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(206, "BPoint")]
public struct BPoint {
[DNAFieldAttribute(0, "float", "vec[4]", 4)]
public float[] vec = new System.Single[4];
[DNAFieldAttribute(1, "float", "alfa", 4)]
public float alfa;
[DNAFieldAttribute(2, "float", "weight", 4)]
public float weight;
[DNAFieldAttribute(3, "uchar", "f1", 1)]
public byte f1;
[DNAFieldAttribute(4, "char", "_pad1[1]", 1)]
public char[] _pad1 = new System.Char[1];
[DNAFieldAttribute(5, "short", "hide", 2)]
public short hide;
[DNAFieldAttribute(6, "float", "radius", 4)]
public float radius;
[DNAFieldAttribute(7, "char", "_pad[4]", 1)]
public char[] _pad = new System.Char[4];
public BPoint(float[] vec, float alfa, float weight, byte f1, char[] _pad1, short hide, float radius, char[] _pad) {
this.vec = vec;
this.alfa = alfa;
this.weight = weight;
this.f1 = f1;
this._pad1 = _pad1;
this.hide = hide;
this.radius = radius;
this._pad = _pad;
}
}
}