Files
BlenderSharp/BlendFile/DNA/tPaletteColorHSV.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.1 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(136, "tPaletteColorHSV")]
public struct tPaletteColorHSV {
[DNAFieldAttribute(0, "float", "rgb[3]", 4)]
public float[] rgb = new System.Single[3];
[DNAFieldAttribute(1, "float", "value", 4)]
public float value;
[DNAFieldAttribute(2, "float", "h", 4)]
public float h;
[DNAFieldAttribute(3, "float", "s", 4)]
public float s;
[DNAFieldAttribute(4, "float", "v", 4)]
public float v;
public tPaletteColorHSV(float[] rgb, float value, float h, float s, float v) {
this.rgb = rgb;
this.value = value;
this.h = h;
this.s = s;
this.v = v;
}
}
}