Files
BlenderSharp/BlendFile/DNA/BoidData.cs
2025-02-19 17:07:50 +01:00

40 lines
1.3 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", "float", 4, false)]
public float health;
[DNAFieldAttribute(1, "float", "acc[3]", "System.Single[]", 12, false)]
public float[] acc = new System.Single[3];
[DNAFieldAttribute(2, "short", "state_id", "short", 2, false)]
public short state_id;
[DNAFieldAttribute(3, "short", "mode", "short", 2, false)]
public short mode;
public BoidData() {
this.health = default;
this.acc = default;
this.state_id = default;
this.mode = default;
}
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;
}
}
}