40 lines
1.3 KiB
C#
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", 20)]
|
|
public class BoidData {
|
|
[DNAFieldAttribute(4, "float", 0, "health", "float", false, 0)]
|
|
public float health;
|
|
[DNAArrayAttribute(12, "float", 1, "acc[3]", "System.Single[]", 3, false, 4)]
|
|
public float[] acc = new System.Single[3];
|
|
[DNAFieldAttribute(2, "short", 2, "state_id", "short", false, 16)]
|
|
public short state_id;
|
|
[DNAFieldAttribute(2, "short", 3, "mode", "short", false, 18)]
|
|
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;
|
|
}
|
|
}
|
|
}
|