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