Files
BlenderSharp/BlendFile/DNA/PaletteColor.cs
2025-03-11 19:12:04 +01:00

40 lines
1.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(137, "PaletteColor", 32)]
public class PaletteColor {
[DNAFieldAttribute(8, "PaletteColor", 0, "*next", "PaletteColor", true, 0)]
public PaletteColor next;
[DNAFieldAttribute(8, "PaletteColor", 1, "*prev", "PaletteColor", true, 8)]
public PaletteColor prev;
[DNAArrayAttribute(12, "float", 2, "rgb[3]", "System.Single[]", 3, 16)]
public float[] rgb = new System.Single[3];
[DNAFieldAttribute(4, "float", 3, "value", "float", false, 28)]
public float value;
public PaletteColor() {
this.next = default;
this.prev = default;
this.rgb = default;
this.value = default;
}
public PaletteColor(PaletteColor next, PaletteColor prev, float[] rgb, float value) {
this.next = next;
this.prev = prev;
this.rgb = rgb;
this.value = value;
}
}
}