Files
BlenderSharp/BlendFile/DNA/BoidRuleFight.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

31 lines
990 B
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", 56)]
public BoidRule rule;
[DNAFieldAttribute(1, "float", "distance", 4)]
public float distance;
[DNAFieldAttribute(2, "float", "flee_distance", 4)]
public float flee_distance;
public BoidRuleFight(BoidRule rule, float distance, float flee_distance) {
this.rule = rule;
this.distance = distance;
this.flee_distance = flee_distance;
}
}
}