Files
BlenderSharp/BlendFile/DNA/Lamp.cs
2025-03-04 18:48:04 +01:00

224 lines
9.3 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(350, "Lamp", 368)]
public class Lamp {
[DNAFieldAttribute(208, "ID", 0, "id", "ID", false, 0)]
public ID id;
[DNAFieldAttribute(8, "AnimData", 1, "*adt", "AnimData", true, 208)]
public AnimData adt;
[DNAFieldAttribute(2, "short", 2, "type", "short", false, 216)]
public short type;
[DNAFieldAttribute(2, "short", 3, "flag", "short", false, 218)]
public short flag;
[DNAFieldAttribute(4, "int", 4, "mode", "int", false, 220)]
public int mode;
[DNAFieldAttribute(4, "float", 5, "r", "float", false, 224)]
public float r;
[DNAFieldAttribute(4, "float", 6, "g", "float", false, 228)]
public float g;
[DNAFieldAttribute(4, "float", 7, "b", "float", false, 232)]
public float b;
[DNAFieldAttribute(4, "float", 8, "energy_new", "float", false, 236)]
public float energy_new;
[DNAFieldAttribute(4, "float", 9, "radius", "float", false, 240)]
public float radius;
[DNAFieldAttribute(4, "float", 10, "spotsize", "float", false, 244)]
public float spotsize;
[DNAFieldAttribute(4, "float", 11, "spotblend", "float", false, 248)]
public float spotblend;
[DNAFieldAttribute(2, "short", 12, "area_shape", "short", false, 252)]
public short area_shape;
[DNAFieldAttribute(2, "short", 13, "_pad1", "short", false, 254)]
public short _pad1;
[DNAFieldAttribute(4, "float", 14, "area_size", "float", false, 256)]
public float area_size;
[DNAFieldAttribute(4, "float", 15, "area_sizey", "float", false, 260)]
public float area_sizey;
[DNAFieldAttribute(4, "float", 16, "area_sizez", "float", false, 264)]
public float area_sizez;
[DNAFieldAttribute(4, "float", 17, "area_spread", "float", false, 268)]
public float area_spread;
[DNAFieldAttribute(4, "float", 18, "sun_angle", "float", false, 272)]
public float sun_angle;
[DNAFieldAttribute(2, "short", 19, "pr_texture", "short", false, 276)]
public short pr_texture;
[DNAFieldAttribute(2, "short", 20, "use_nodes", "short", false, 278)]
public short use_nodes;
[DNAFieldAttribute(4, "float", 21, "clipsta", "float", false, 280)]
public float clipsta;
[DNAFieldAttribute(4, "float", 22, "clipend", "float", false, 284)]
public float clipend;
[DNAFieldAttribute(4, "float", 23, "cascade_max_dist", "float", false, 288)]
public float cascade_max_dist;
[DNAFieldAttribute(4, "float", 24, "cascade_exponent", "float", false, 292)]
public float cascade_exponent;
[DNAFieldAttribute(4, "float", 25, "cascade_fade", "float", false, 296)]
public float cascade_fade;
[DNAFieldAttribute(4, "int", 26, "cascade_count", "int", false, 300)]
public int cascade_count;
[DNAFieldAttribute(4, "float", 27, "diff_fac", "float", false, 304)]
public float diff_fac;
[DNAFieldAttribute(4, "float", 28, "spec_fac", "float", false, 308)]
public float spec_fac;
[DNAFieldAttribute(4, "float", 29, "transmission_fac", "float", false, 312)]
public float transmission_fac;
[DNAFieldAttribute(4, "float", 30, "volume_fac", "float", false, 316)]
public float volume_fac;
[DNAFieldAttribute(4, "float", 31, "att_dist", "float", false, 320)]
public float att_dist;
[DNAFieldAttribute(4, "float", 32, "shadow_filter_radius", "float", false, 324)]
public float shadow_filter_radius;
[DNAFieldAttribute(4, "float", 33, "shadow_maximum_resolution", "float", false, 328)]
public float shadow_maximum_resolution;
[DNAFieldAttribute(4, "float", 34, "shadow_jitter_overblur", "float", false, 332)]
public float shadow_jitter_overblur;
[DNAFieldAttribute(8, "PreviewImage", 35, "*preview", "PreviewImage", true, 336)]
public PreviewImage preview;
[DNAFieldAttribute(8, "bNodeTree", 36, "*nodetree", "bNodeTree", true, 344)]
public bNodeTree nodetree;
[DNAFieldAttribute(8, "Ipo", 37, "*ipo", "Ipo", true, 352)]
public Ipo ipo;
[DNAFieldAttribute(4, "float", 38, "energy", "float", false, 360)]
public float energy;
[DNAFieldAttribute(4, "float", 39, "_pad2", "float", false, 364)]
public float _pad2;
public Lamp() {
this.id = default;
this.adt = default;
this.type = default;
this.flag = default;
this.mode = default;
this.r = default;
this.g = default;
this.b = default;
this.energy_new = default;
this.radius = default;
this.spotsize = default;
this.spotblend = default;
this.area_shape = default;
this._pad1 = default;
this.area_size = default;
this.area_sizey = default;
this.area_sizez = default;
this.area_spread = default;
this.sun_angle = default;
this.pr_texture = default;
this.use_nodes = default;
this.clipsta = default;
this.clipend = default;
this.cascade_max_dist = default;
this.cascade_exponent = default;
this.cascade_fade = default;
this.cascade_count = default;
this.diff_fac = default;
this.spec_fac = default;
this.transmission_fac = default;
this.volume_fac = default;
this.att_dist = default;
this.shadow_filter_radius = default;
this.shadow_maximum_resolution = default;
this.shadow_jitter_overblur = default;
this.preview = default;
this.nodetree = default;
this.ipo = default;
this.energy = default;
this._pad2 = default;
}
public Lamp(
ID id,
AnimData adt,
short type,
short flag,
int mode,
float r,
float g,
float b,
float energy_new,
float radius,
float spotsize,
float spotblend,
short area_shape,
short _pad1,
float area_size,
float area_sizey,
float area_sizez,
float area_spread,
float sun_angle,
short pr_texture,
short use_nodes,
float clipsta,
float clipend,
float cascade_max_dist,
float cascade_exponent,
float cascade_fade,
int cascade_count,
float diff_fac,
float spec_fac,
float transmission_fac,
float volume_fac,
float att_dist,
float shadow_filter_radius,
float shadow_maximum_resolution,
float shadow_jitter_overblur,
PreviewImage preview,
bNodeTree nodetree,
Ipo ipo,
float energy,
float _pad2) {
this.id = id;
this.adt = adt;
this.type = type;
this.flag = flag;
this.mode = mode;
this.r = r;
this.g = g;
this.b = b;
this.energy_new = energy_new;
this.radius = radius;
this.spotsize = spotsize;
this.spotblend = spotblend;
this.area_shape = area_shape;
this._pad1 = _pad1;
this.area_size = area_size;
this.area_sizey = area_sizey;
this.area_sizez = area_sizez;
this.area_spread = area_spread;
this.sun_angle = sun_angle;
this.pr_texture = pr_texture;
this.use_nodes = use_nodes;
this.clipsta = clipsta;
this.clipend = clipend;
this.cascade_max_dist = cascade_max_dist;
this.cascade_exponent = cascade_exponent;
this.cascade_fade = cascade_fade;
this.cascade_count = cascade_count;
this.diff_fac = diff_fac;
this.spec_fac = spec_fac;
this.transmission_fac = transmission_fac;
this.volume_fac = volume_fac;
this.att_dist = att_dist;
this.shadow_filter_radius = shadow_filter_radius;
this.shadow_maximum_resolution = shadow_maximum_resolution;
this.shadow_jitter_overblur = shadow_jitter_overblur;
this.preview = preview;
this.nodetree = nodetree;
this.ipo = ipo;
this.energy = energy;
this._pad2 = _pad2;
}
}
}