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

46 lines
1.7 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(91, "DriverVar")]
public class DriverVar {
[DNAFieldAttribute(0, "DriverVar", "*next", 920)]
public DriverVar ptr_next;
[DNAFieldAttribute(1, "DriverVar", "*prev", 920)]
public DriverVar ptr_prev;
[DNAFieldAttribute(2, "char", "name[64]", 1)]
public char[] name = new System.Char[64];
[DNAFieldAttribute(3, "DriverTarget", "targets[8]", 104)]
public DriverTarget[] targets = new DriverTarget[8];
[DNAFieldAttribute(4, "char", "num_targets", 1)]
public char num_targets;
[DNAFieldAttribute(5, "char", "type", 1)]
public char type;
[DNAFieldAttribute(6, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(7, "float", "curval", 4)]
public float curval;
public DriverVar(DriverVar ptr_next, DriverVar ptr_prev, char[] name, DriverTarget[] targets, char num_targets, char type, short flag, float curval) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.name = name;
this.targets = targets;
this.num_targets = num_targets;
this.type = type;
this.flag = flag;
this.curval = curval;
}
}
}