Files
BlenderSharp/BlendFile/DNA/NodeTexSky.cs
2025-02-19 18:48:50 +01:00

84 lines
3.7 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(637, "NodeTexSky", 1024)]
public struct NodeTexSky {
[DNAFieldAttribute(0, "NodeTexBase", "base", "NodeTexBase", 960, false)]
public NodeTexBase @base;
[DNAFieldAttribute(1, "int", "sky_model", "int", 4, false)]
public int sky_model;
[DNAFieldAttribute(2, "float", "sun_direction[3]", "System.Single[]", 12, false)]
public float[] sun_direction = new System.Single[3];
[DNAFieldAttribute(3, "float", "turbidity", "float", 4, false)]
public float turbidity;
[DNAFieldAttribute(4, "float", "ground_albedo", "float", 4, false)]
public float ground_albedo;
[DNAFieldAttribute(5, "float", "sun_size", "float", 4, false)]
public float sun_size;
[DNAFieldAttribute(6, "float", "sun_intensity", "float", 4, false)]
public float sun_intensity;
[DNAFieldAttribute(7, "float", "sun_elevation", "float", 4, false)]
public float sun_elevation;
[DNAFieldAttribute(8, "float", "sun_rotation", "float", 4, false)]
public float sun_rotation;
[DNAFieldAttribute(9, "float", "altitude", "float", 4, false)]
public float altitude;
[DNAFieldAttribute(10, "float", "air_density", "float", 4, false)]
public float air_density;
[DNAFieldAttribute(11, "float", "dust_density", "float", 4, false)]
public float dust_density;
[DNAFieldAttribute(12, "float", "ozone_density", "float", 4, false)]
public float ozone_density;
[DNAFieldAttribute(13, "char", "sun_disc", "char", 1, false)]
public char sun_disc;
[DNAFieldAttribute(14, "char", "_pad[7]", "System.Char[]", 7, false)]
public char[] _pad = new System.Char[7];
public NodeTexSky() {
this.@base = default;
this.sky_model = default;
this.sun_direction = default;
this.turbidity = default;
this.ground_albedo = default;
this.sun_size = default;
this.sun_intensity = default;
this.sun_elevation = default;
this.sun_rotation = default;
this.altitude = default;
this.air_density = default;
this.dust_density = default;
this.ozone_density = default;
this.sun_disc = default;
this._pad = default;
}
public NodeTexSky(NodeTexBase @base, int sky_model, float[] sun_direction, float turbidity, float ground_albedo, float sun_size, float sun_intensity, float sun_elevation, float sun_rotation, float altitude, float air_density, float dust_density, float ozone_density, char sun_disc, char[] _pad) {
this.@base = @base;
this.sky_model = sky_model;
this.sun_direction = sun_direction;
this.turbidity = turbidity;
this.ground_albedo = ground_albedo;
this.sun_size = sun_size;
this.sun_intensity = sun_intensity;
this.sun_elevation = sun_elevation;
this.sun_rotation = sun_rotation;
this.altitude = altitude;
this.air_density = air_density;
this.dust_density = dust_density;
this.ozone_density = ozone_density;
this.sun_disc = sun_disc;
this._pad = _pad;
}
}
}