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

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