Files
BlenderSharp/BlendFile/DNA/Camera.cs
2025-02-19 17:07:50 +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")]
public class Camera {
[DNAFieldAttribute(0, "ID", "id", "ID", 208, false)]
public ID id;
[DNAFieldAttribute(1, "AnimData", "*adt", "AnimData", 4, true)]
public AnimData ptr_adt;
[DNAFieldAttribute(2, "char", "type", "char", 1, false)]
public char type;
[DNAFieldAttribute(3, "char", "dtx", "char", 1, false)]
public char dtx;
[DNAFieldAttribute(4, "short", "flag", "short", 2, false)]
public short flag;
[DNAFieldAttribute(5, "float", "passepartalpha", "float", 4, false)]
public float passepartalpha;
[DNAFieldAttribute(6, "float", "clipsta", "float", 4, false)]
public float clipsta;
[DNAFieldAttribute(7, "float", "clipend", "float", 4, false)]
public float clipend;
[DNAFieldAttribute(8, "float", "lens", "float", 4, false)]
public float lens;
[DNAFieldAttribute(9, "float", "ortho_scale", "float", 4, false)]
public float ortho_scale;
[DNAFieldAttribute(10, "float", "drawsize", "float", 4, false)]
public float drawsize;
[DNAFieldAttribute(11, "float", "sensor_x", "float", 4, false)]
public float sensor_x;
[DNAFieldAttribute(12, "float", "sensor_y", "float", 4, false)]
public float sensor_y;
[DNAFieldAttribute(13, "float", "shiftx", "float", 4, false)]
public float shiftx;
[DNAFieldAttribute(14, "float", "shifty", "float", 4, false)]
public float shifty;
[DNAFieldAttribute(15, "float", "YF_dofdist", "float", 4, false)]
public float YF_dofdist;
[DNAFieldAttribute(16, "char", "sensor_fit", "char", 1, false)]
public char sensor_fit;
[DNAFieldAttribute(17, "char", "panorama_type", "char", 1, false)]
public char panorama_type;
[DNAFieldAttribute(18, "char", "_pad[2]", "System.Char[]", 2, false)]
public char[] _pad = new System.Char[2];
[DNAFieldAttribute(19, "float", "fisheye_fov", "float", 4, false)]
public float fisheye_fov;
[DNAFieldAttribute(20, "float", "fisheye_lens", "float", 4, false)]
public float fisheye_lens;
[DNAFieldAttribute(21, "float", "latitude_min", "float", 4, false)]
public float latitude_min;
[DNAFieldAttribute(22, "float", "latitude_max", "float", 4, false)]
public float latitude_max;
[DNAFieldAttribute(23, "float", "longitude_min", "float", 4, false)]
public float longitude_min;
[DNAFieldAttribute(24, "float", "longitude_max", "float", 4, false)]
public float longitude_max;
[DNAFieldAttribute(25, "float", "fisheye_polynomial_k0", "float", 4, false)]
public float fisheye_polynomial_k0;
[DNAFieldAttribute(26, "float", "fisheye_polynomial_k1", "float", 4, false)]
public float fisheye_polynomial_k1;
[DNAFieldAttribute(27, "float", "fisheye_polynomial_k2", "float", 4, false)]
public float fisheye_polynomial_k2;
[DNAFieldAttribute(28, "float", "fisheye_polynomial_k3", "float", 4, false)]
public float fisheye_polynomial_k3;
[DNAFieldAttribute(29, "float", "fisheye_polynomial_k4", "float", 4, false)]
public float fisheye_polynomial_k4;
[DNAFieldAttribute(30, "float", "central_cylindrical_range_u_min", "float", 4, false)]
public float central_cylindrical_range_u_min;
[DNAFieldAttribute(31, "float", "central_cylindrical_range_u_max", "float", 4, false)]
public float central_cylindrical_range_u_max;
[DNAFieldAttribute(32, "float", "central_cylindrical_range_v_min", "float", 4, false)]
public float central_cylindrical_range_v_min;
[DNAFieldAttribute(33, "float", "central_cylindrical_range_v_max", "float", 4, false)]
public float central_cylindrical_range_v_max;
[DNAFieldAttribute(34, "float", "central_cylindrical_radius", "float", 4, false)]
public float central_cylindrical_radius;
[DNAFieldAttribute(35, "float", "_pad2", "float", 4, false)]
public float _pad2;
[DNAFieldAttribute(36, "Ipo", "*ipo", "Ipo", 4, true)]
public Ipo ptr_ipo;
[DNAFieldAttribute(37, "Object", "*dof_ob", "Object", 4, true)]
public Object ptr_dof_ob;
[DNAFieldAttribute(38, "GPUDOFSettings", "gpu_dof", "GPUDOFSettings", 32, false)]
public GPUDOFSettings gpu_dof;
[DNAFieldAttribute(39, "CameraDOFSettings", "dof", "CameraDOFSettings", 96, false)]
public CameraDOFSettings dof;
[DNAFieldAttribute(40, "ListBase", "bg_images", "ListBase", 16, false)]
public ListBase bg_images;
[DNAFieldAttribute(41, "CameraStereoSettings", "stereo", "CameraStereoSettings", 24, false)]
public CameraStereoSettings stereo;
[DNAFieldAttribute(42, "Camera_Runtime", "runtime", "Camera_Runtime", 216, false)]
public Camera_Runtime runtime;
public Camera() {
this.id = default;
this.ptr_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.ptr_ipo = default;
this.ptr_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 ptr_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 ptr_ipo,
Object ptr_dof_ob,
GPUDOFSettings gpu_dof,
CameraDOFSettings dof,
ListBase bg_images,
CameraStereoSettings stereo,
Camera_Runtime runtime) {
this.id = id;
this.ptr_adt = ptr_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.ptr_ipo = ptr_ipo;
this.ptr_dof_ob = ptr_dof_ob;
this.gpu_dof = gpu_dof;
this.dof = dof;
this.bg_images = bg_images;
this.stereo = stereo;
this.runtime = runtime;
}
}
}