Files
BlenderSharp/BlendFile/DNA/Camera.cs
2025-03-11 19:12:04 +01:00

239 lines
11 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(152, "Camera", 736)]
public class Camera {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(1, "char", 2, "type", "char", false, 216)]
public char type;
[DNAFieldAttribute(1, "char", 3, "dtx", "char", false, 217)]
public char dtx;
[DNAFieldAttribute(2, "short", 4, "flag", "short", false, 218)]
public short flag;
[DNAFieldAttribute(4, "float", 5, "passepartalpha", "float", false, 220)]
public float passepartalpha;
[DNAFieldAttribute(4, "float", 6, "clipsta", "float", false, 224)]
public float clipsta;
[DNAFieldAttribute(4, "float", 7, "clipend", "float", false, 228)]
public float clipend;
[DNAFieldAttribute(4, "float", 8, "lens", "float", false, 232)]
public float lens;
[DNAFieldAttribute(4, "float", 9, "ortho_scale", "float", false, 236)]
public float ortho_scale;
[DNAFieldAttribute(4, "float", 10, "drawsize", "float", false, 240)]
public float drawsize;
[DNAFieldAttribute(4, "float", 11, "sensor_x", "float", false, 244)]
public float sensor_x;
[DNAFieldAttribute(4, "float", 12, "sensor_y", "float", false, 248)]
public float sensor_y;
[DNAFieldAttribute(4, "float", 13, "shiftx", "float", false, 252)]
public float shiftx;
[DNAFieldAttribute(4, "float", 14, "shifty", "float", false, 256)]
public float shifty;
[DNAFieldAttribute(4, "float", 15, "YF_dofdist", "float", false, 260)]
public float YF_dofdist;
[DNAFieldAttribute(1, "char", 16, "sensor_fit", "char", false, 264)]
public char sensor_fit;
[DNAFieldAttribute(1, "char", 17, "panorama_type", "char", false, 265)]
public char panorama_type;
[DNAArrayAttribute(2, "char", 18, "_pad[2]", "System.Char[]", 2, 266)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(4, "float", 19, "fisheye_fov", "float", false, 268)]
public float fisheye_fov;
[DNAFieldAttribute(4, "float", 20, "fisheye_lens", "float", false, 272)]
public float fisheye_lens;
[DNAFieldAttribute(4, "float", 21, "latitude_min", "float", false, 276)]
public float latitude_min;
[DNAFieldAttribute(4, "float", 22, "latitude_max", "float", false, 280)]
public float latitude_max;
[DNAFieldAttribute(4, "float", 23, "longitude_min", "float", false, 284)]
public float longitude_min;
[DNAFieldAttribute(4, "float", 24, "longitude_max", "float", false, 288)]
public float longitude_max;
[DNAFieldAttribute(4, "float", 25, "fisheye_polynomial_k0", "float", false, 292)]
public float fisheye_polynomial_k0;
[DNAFieldAttribute(4, "float", 26, "fisheye_polynomial_k1", "float", false, 296)]
public float fisheye_polynomial_k1;
[DNAFieldAttribute(4, "float", 27, "fisheye_polynomial_k2", "float", false, 300)]
public float fisheye_polynomial_k2;
[DNAFieldAttribute(4, "float", 28, "fisheye_polynomial_k3", "float", false, 304)]
public float fisheye_polynomial_k3;
[DNAFieldAttribute(4, "float", 29, "fisheye_polynomial_k4", "float", false, 308)]
public float fisheye_polynomial_k4;
[DNAFieldAttribute(4, "float", 30, "central_cylindrical_range_u_min", "float", false, 312)]
public float central_cylindrical_range_u_min;
[DNAFieldAttribute(4, "float", 31, "central_cylindrical_range_u_max", "float", false, 316)]
public float central_cylindrical_range_u_max;
[DNAFieldAttribute(4, "float", 32, "central_cylindrical_range_v_min", "float", false, 320)]
public float central_cylindrical_range_v_min;
[DNAFieldAttribute(4, "float", 33, "central_cylindrical_range_v_max", "float", false, 324)]
public float central_cylindrical_range_v_max;
[DNAFieldAttribute(4, "float", 34, "central_cylindrical_radius", "float", false, 328)]
public float central_cylindrical_radius;
[DNAFieldAttribute(4, "float", 35, "_pad2", "float", false, 332)]
public float _pad2;
[DNAFieldAttribute(8, "Ipo", 36, "*ipo", "Ipo", true, 336)]
public Ipo ipo;
[DNAFieldAttribute(8, "Object", 37, "*dof_ob", "Object", true, 344)]
public Object dof_ob;
[DNAFieldAttribute(32, "GPUDOFSettings", 38, "gpu_dof", "GPUDOFSettings", false, 352)]
public GPUDOFSettings gpu_dof;
[DNAFieldAttribute(96, "CameraDOFSettings", 39, "dof", "CameraDOFSettings", false, 384)]
public CameraDOFSettings dof;
[DNAFieldAttribute(16, "ListBase", 40, "bg_images", "ListBase", false, 480)]
public ListBase bg_images;
[DNAFieldAttribute(24, "CameraStereoSettings", 41, "stereo", "CameraStereoSettings", false, 496)]
public CameraStereoSettings stereo;
[DNAFieldAttribute(216, "Camera_Runtime", 42, "runtime", "Camera_Runtime", false, 520)]
public Camera_Runtime runtime;
public Camera() {
this.id = default;
this.adt = default;
this.type = default;
this.dtx = default;
this.flag = default;
this.passepartalpha = default;
this.clipsta = default;
this.clipend = default;
this.lens = default;
this.ortho_scale = default;
this.drawsize = default;
this.sensor_x = default;
this.sensor_y = default;
this.shiftx = default;
this.shifty = default;
this.YF_dofdist = default;
this.sensor_fit = default;
this.panorama_type = default;
this._pad = default;
this.fisheye_fov = default;
this.fisheye_lens = default;
this.latitude_min = default;
this.latitude_max = default;
this.longitude_min = default;
this.longitude_max = default;
this.fisheye_polynomial_k0 = default;
this.fisheye_polynomial_k1 = default;
this.fisheye_polynomial_k2 = default;
this.fisheye_polynomial_k3 = default;
this.fisheye_polynomial_k4 = default;
this.central_cylindrical_range_u_min = default;
this.central_cylindrical_range_u_max = default;
this.central_cylindrical_range_v_min = default;
this.central_cylindrical_range_v_max = default;
this.central_cylindrical_radius = default;
this._pad2 = default;
this.ipo = default;
this.dof_ob = default;
this.gpu_dof = default;
this.dof = default;
this.bg_images = default;
this.stereo = default;
this.runtime = default;
}
public Camera(
ID id,
AnimData adt,
char type,
char dtx,
short flag,
float passepartalpha,
float clipsta,
float clipend,
float lens,
float ortho_scale,
float drawsize,
float sensor_x,
float sensor_y,
float shiftx,
float shifty,
float YF_dofdist,
char sensor_fit,
char panorama_type,
char[] _pad,
float fisheye_fov,
float fisheye_lens,
float latitude_min,
float latitude_max,
float longitude_min,
float longitude_max,
float fisheye_polynomial_k0,
float fisheye_polynomial_k1,
float fisheye_polynomial_k2,
float fisheye_polynomial_k3,
float fisheye_polynomial_k4,
float central_cylindrical_range_u_min,
float central_cylindrical_range_u_max,
float central_cylindrical_range_v_min,
float central_cylindrical_range_v_max,
float central_cylindrical_radius,
float _pad2,
Ipo ipo,
Object dof_ob,
GPUDOFSettings gpu_dof,
CameraDOFSettings dof,
ListBase bg_images,
CameraStereoSettings stereo,
Camera_Runtime runtime) {
this.id = id;
this.adt = adt;
this.type = type;
this.dtx = dtx;
this.flag = flag;
this.passepartalpha = passepartalpha;
this.clipsta = clipsta;
this.clipend = clipend;
this.lens = lens;
this.ortho_scale = ortho_scale;
this.drawsize = drawsize;
this.sensor_x = sensor_x;
this.sensor_y = sensor_y;
this.shiftx = shiftx;
this.shifty = shifty;
this.YF_dofdist = YF_dofdist;
this.sensor_fit = sensor_fit;
this.panorama_type = panorama_type;
this._pad = _pad;
this.fisheye_fov = fisheye_fov;
this.fisheye_lens = fisheye_lens;
this.latitude_min = latitude_min;
this.latitude_max = latitude_max;
this.longitude_min = longitude_min;
this.longitude_max = longitude_max;
this.fisheye_polynomial_k0 = fisheye_polynomial_k0;
this.fisheye_polynomial_k1 = fisheye_polynomial_k1;
this.fisheye_polynomial_k2 = fisheye_polynomial_k2;
this.fisheye_polynomial_k3 = fisheye_polynomial_k3;
this.fisheye_polynomial_k4 = fisheye_polynomial_k4;
this.central_cylindrical_range_u_min = central_cylindrical_range_u_min;
this.central_cylindrical_range_u_max = central_cylindrical_range_u_max;
this.central_cylindrical_range_v_min = central_cylindrical_range_v_min;
this.central_cylindrical_range_v_max = central_cylindrical_range_v_max;
this.central_cylindrical_radius = central_cylindrical_radius;
this._pad2 = _pad2;
this.ipo = ipo;
this.dof_ob = dof_ob;
this.gpu_dof = gpu_dof;
this.dof = dof;
this.bg_images = bg_images;
this.stereo = stereo;
this.runtime = runtime;
}
}
}