Files
BlenderSharp/BlendFile/DNA/BoidSettings.cs
2025-02-19 17:07:50 +01:00

139 lines
5.8 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(124, "BoidSettings")]
public struct BoidSettings {
[DNAFieldAttribute(0, "int", "options", "int", 4, false)]
public int options;
[DNAFieldAttribute(1, "int", "last_state_id", "int", 4, false)]
public int last_state_id;
[DNAFieldAttribute(2, "float", "landing_smoothness", "float", 4, false)]
public float landing_smoothness;
[DNAFieldAttribute(3, "float", "height", "float", 4, false)]
public float height;
[DNAFieldAttribute(4, "float", "banking", "float", 4, false)]
public float banking;
[DNAFieldAttribute(5, "float", "pitch", "float", 4, false)]
public float pitch;
[DNAFieldAttribute(6, "float", "health", "float", 4, false)]
public float health;
[DNAFieldAttribute(7, "float", "aggression", "float", 4, false)]
public float aggression;
[DNAFieldAttribute(8, "float", "strength", "float", 4, false)]
public float strength;
[DNAFieldAttribute(9, "float", "accuracy", "float", 4, false)]
public float accuracy;
[DNAFieldAttribute(10, "float", "range", "float", 4, false)]
public float range;
[DNAFieldAttribute(11, "float", "air_min_speed", "float", 4, false)]
public float air_min_speed;
[DNAFieldAttribute(12, "float", "air_max_speed", "float", 4, false)]
public float air_max_speed;
[DNAFieldAttribute(13, "float", "air_max_acc", "float", 4, false)]
public float air_max_acc;
[DNAFieldAttribute(14, "float", "air_max_ave", "float", 4, false)]
public float air_max_ave;
[DNAFieldAttribute(15, "float", "air_personal_space", "float", 4, false)]
public float air_personal_space;
[DNAFieldAttribute(16, "float", "land_jump_speed", "float", 4, false)]
public float land_jump_speed;
[DNAFieldAttribute(17, "float", "land_max_speed", "float", 4, false)]
public float land_max_speed;
[DNAFieldAttribute(18, "float", "land_max_acc", "float", 4, false)]
public float land_max_acc;
[DNAFieldAttribute(19, "float", "land_max_ave", "float", 4, false)]
public float land_max_ave;
[DNAFieldAttribute(20, "float", "land_personal_space", "float", 4, false)]
public float land_personal_space;
[DNAFieldAttribute(21, "float", "land_stick_force", "float", 4, false)]
public float land_stick_force;
[DNAFieldAttribute(22, "ListBase", "states", "ListBase", 16, false)]
public ListBase states;
public BoidSettings() {
this.options = default;
this.last_state_id = default;
this.landing_smoothness = default;
this.height = default;
this.banking = default;
this.pitch = default;
this.health = default;
this.aggression = default;
this.strength = default;
this.accuracy = default;
this.range = default;
this.air_min_speed = default;
this.air_max_speed = default;
this.air_max_acc = default;
this.air_max_ave = default;
this.air_personal_space = default;
this.land_jump_speed = default;
this.land_max_speed = default;
this.land_max_acc = default;
this.land_max_ave = default;
this.land_personal_space = default;
this.land_stick_force = default;
this.states = default;
}
public BoidSettings(
int options,
int last_state_id,
float landing_smoothness,
float height,
float banking,
float pitch,
float health,
float aggression,
float strength,
float accuracy,
float range,
float air_min_speed,
float air_max_speed,
float air_max_acc,
float air_max_ave,
float air_personal_space,
float land_jump_speed,
float land_max_speed,
float land_max_acc,
float land_max_ave,
float land_personal_space,
float land_stick_force,
ListBase states) {
this.options = options;
this.last_state_id = last_state_id;
this.landing_smoothness = landing_smoothness;
this.height = height;
this.banking = banking;
this.pitch = pitch;
this.health = health;
this.aggression = aggression;
this.strength = strength;
this.accuracy = accuracy;
this.range = range;
this.air_min_speed = air_min_speed;
this.air_max_speed = air_max_speed;
this.air_max_acc = air_max_acc;
this.air_max_ave = air_max_ave;
this.air_personal_space = air_personal_space;
this.land_jump_speed = land_jump_speed;
this.land_max_speed = land_max_speed;
this.land_max_acc = land_max_acc;
this.land_max_ave = land_max_ave;
this.land_personal_space = land_personal_space;
this.land_stick_force = land_stick_force;
this.states = states;
}
}
}