Files
BlenderSharp/BlendFile/DNA/CBData.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

40 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(974, "CBData")]
public struct CBData {
[DNAFieldAttribute(0, "float", "r", 4)]
public float r;
[DNAFieldAttribute(1, "float", "g", 4)]
public float g;
[DNAFieldAttribute(2, "float", "b", 4)]
public float b;
[DNAFieldAttribute(3, "float", "a", 4)]
public float a;
[DNAFieldAttribute(4, "float", "pos", 4)]
public float pos;
[DNAFieldAttribute(5, "int", "cur", 4)]
public int cur;
public CBData(float r, float g, float b, float a, float pos, int cur) {
this.r = r;
this.g = g;
this.b = b;
this.a = a;
this.pos = pos;
this.cur = cur;
}
}
}