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

43 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(839, "View3DCursor")]
public struct View3DCursor {
[DNAFieldAttribute(0, "float", "location[3]", 4)]
public float[] location = new System.Single[3];
[DNAFieldAttribute(1, "float", "rotation_quaternion[4]", 4)]
public float[] rotation_quaternion = new System.Single[4];
[DNAFieldAttribute(2, "float", "rotation_euler[3]", 4)]
public float[] rotation_euler = new System.Single[3];
[DNAFieldAttribute(3, "float", "rotation_axis[3]", 4)]
public float[] rotation_axis = new System.Single[3];
[DNAFieldAttribute(4, "float", "rotation_angle", 4)]
public float rotation_angle;
[DNAFieldAttribute(5, "short", "rotation_mode", 2)]
public short rotation_mode;
[DNAFieldAttribute(6, "char", "_pad[6]", 1)]
public char[] _pad = new System.Char[6];
public View3DCursor(float[] location, float[] rotation_quaternion, float[] rotation_euler, float[] rotation_axis, float rotation_angle, short rotation_mode, char[] _pad) {
this.location = location;
this.rotation_quaternion = rotation_quaternion;
this.rotation_euler = rotation_euler;
this.rotation_axis = rotation_axis;
this.rotation_angle = rotation_angle;
this.rotation_mode = rotation_mode;
this._pad = _pad;
}
}
}