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

67 lines
3.1 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(1046, "XrSessionSettings")]
public class XrSessionSettings {
[DNAFieldAttribute(0, "View3DShading", "shading", 944)]
public View3DShading shading;
[DNAFieldAttribute(1, "float", "base_scale", 4)]
public float base_scale;
[DNAFieldAttribute(2, "char", "_pad[3]", 1)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(3, "char", "base_pose_type", 1)]
public char base_pose_type;
[DNAFieldAttribute(4, "Object", "*base_pose_object", 1160)]
public Object ptr_base_pose_object;
[DNAFieldAttribute(5, "float", "base_pose_location[3]", 4)]
public float[] base_pose_location = new System.Single[3];
[DNAFieldAttribute(6, "float", "base_pose_angle", 4)]
public float base_pose_angle;
[DNAFieldAttribute(7, "char", "draw_flags", 1)]
public char draw_flags;
[DNAFieldAttribute(8, "char", "controller_draw_style", 1)]
public char controller_draw_style;
[DNAFieldAttribute(9, "char", "_pad2[2]", 1)]
public char[] _pad2 = new System.Char[2];
[DNAFieldAttribute(10, "float", "clip_start", 4)]
public float clip_start;
[DNAFieldAttribute(11, "float", "clip_end", 4)]
public float clip_end;
[DNAFieldAttribute(12, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(13, "int", "object_type_exclude_viewport", 4)]
public int object_type_exclude_viewport;
[DNAFieldAttribute(14, "int", "object_type_exclude_select", 4)]
public int object_type_exclude_select;
public XrSessionSettings(View3DShading shading, float base_scale, char[] _pad, char base_pose_type, Object ptr_base_pose_object, float[] base_pose_location, float base_pose_angle, char draw_flags, char controller_draw_style, char[] _pad2, float clip_start, float clip_end, int flag, int object_type_exclude_viewport, int object_type_exclude_select) {
this.shading = shading;
this.base_scale = base_scale;
this._pad = _pad;
this.base_pose_type = base_pose_type;
this.ptr_base_pose_object = ptr_base_pose_object;
this.base_pose_location = base_pose_location;
this.base_pose_angle = base_pose_angle;
this.draw_flags = draw_flags;
this.controller_draw_style = controller_draw_style;
this._pad2 = _pad2;
this.clip_start = clip_start;
this.clip_end = clip_end;
this.flag = flag;
this.object_type_exclude_viewport = object_type_exclude_viewport;
this.object_type_exclude_select = object_type_exclude_select;
}
}
}