36 lines
1.2 KiB
C#
36 lines
1.2 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(121, "BoidRuleFight")]
|
|
public struct BoidRuleFight {
|
|
[DNAFieldAttribute(0, "BoidRule", "rule", "BoidRule", 56, false)]
|
|
public BoidRule rule;
|
|
[DNAFieldAttribute(1, "float", "distance", "float", 4, false)]
|
|
public float distance;
|
|
[DNAFieldAttribute(2, "float", "flee_distance", "float", 4, false)]
|
|
public float flee_distance;
|
|
public BoidRuleFight() {
|
|
this.rule = default;
|
|
this.distance = default;
|
|
this.flee_distance = default;
|
|
}
|
|
public BoidRuleFight(BoidRule rule, float distance, float flee_distance) {
|
|
this.rule = rule;
|
|
this.distance = distance;
|
|
this.flee_distance = flee_distance;
|
|
}
|
|
}
|
|
}
|