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

34 lines
1.0 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(122, "BoidData")]
public struct BoidData {
[DNAFieldAttribute(0, "float", "health", 4)]
public float health;
[DNAFieldAttribute(1, "float", "acc[3]", 4)]
public float[] acc = new System.Single[3];
[DNAFieldAttribute(2, "short", "state_id", 2)]
public short state_id;
[DNAFieldAttribute(3, "short", "mode", 2)]
public short mode;
public BoidData(float health, float[] acc, short state_id, short mode) {
this.health = health;
this.acc = acc;
this.state_id = state_id;
this.mode = mode;
}
}
}