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", 64)]
|
|
public class BoidRuleFight {
|
|
[DNAFieldAttribute(56, "BoidRule", 0, "rule", "BoidRule", false, 0)]
|
|
public BoidRule rule;
|
|
[DNAFieldAttribute(4, "float", 1, "distance", "float", false, 56)]
|
|
public float distance;
|
|
[DNAFieldAttribute(4, "float", 2, "flee_distance", "float", false, 60)]
|
|
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;
|
|
}
|
|
}
|
|
}
|