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

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