33 lines
1.0 KiB
C#
33 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;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|