Files
BlenderSharp/BlendFile/DNA/SolidLight.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

37 lines
1.2 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(1007, "SolidLight")]
public struct SolidLight {
[DNAFieldAttribute(0, "int", "flag", 4)]
public int flag;
[DNAFieldAttribute(1, "float", "smooth", 4)]
public float smooth;
[DNAFieldAttribute(2, "float", "col[4]", 4)]
public float[] col = new System.Single[4];
[DNAFieldAttribute(3, "float", "spec[4]", 4)]
public float[] spec = new System.Single[4];
[DNAFieldAttribute(4, "float", "vec[4]", 4)]
public float[] vec = new System.Single[4];
public SolidLight(int flag, float smooth, float[] col, float[] spec, float[] vec) {
this.flag = flag;
this.smooth = smooth;
this.col = col;
this.spec = spec;
this.vec = vec;
}
}
}