Files
BlenderSharp/BlendFile/DNA/WalkNavigation.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

46 lines
1.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(1008, "WalkNavigation")]
public struct WalkNavigation {
[DNAFieldAttribute(0, "float", "mouse_speed", 4)]
public float mouse_speed;
[DNAFieldAttribute(1, "float", "walk_speed", 4)]
public float walk_speed;
[DNAFieldAttribute(2, "float", "walk_speed_factor", 4)]
public float walk_speed_factor;
[DNAFieldAttribute(3, "float", "view_height", 4)]
public float view_height;
[DNAFieldAttribute(4, "float", "jump_height", 4)]
public float jump_height;
[DNAFieldAttribute(5, "float", "teleport_time", 4)]
public float teleport_time;
[DNAFieldAttribute(6, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(7, "char", "_pad0[6]", 1)]
public char[] _pad0 = new System.Char[6];
public WalkNavigation(float mouse_speed, float walk_speed, float walk_speed_factor, float view_height, float jump_height, float teleport_time, short flag, char[] _pad0) {
this.mouse_speed = mouse_speed;
this.walk_speed = walk_speed;
this.walk_speed_factor = walk_speed_factor;
this.view_height = view_height;
this.jump_height = jump_height;
this.teleport_time = teleport_time;
this.flag = flag;
this._pad0 = _pad0;
}
}
}