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

134 lines
5.0 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(207, "Nurb", 88)]
public class Nurb {
[DNAFieldAttribute(8, "Nurb", 0, "*next", "Nurb", true, 0)]
public Nurb next;
[DNAFieldAttribute(8, "Nurb", 1, "*prev", "Nurb", true, 8)]
public Nurb prev;
[DNAFieldAttribute(2, "short", 2, "type", "short", false, 16)]
public short type;
[DNAFieldAttribute(2, "short", 3, "mat_nr", "short", false, 18)]
public short mat_nr;
[DNAFieldAttribute(2, "short", 4, "hide", "short", false, 20)]
public short hide;
[DNAFieldAttribute(2, "short", 5, "flag", "short", false, 22)]
public short flag;
[DNAFieldAttribute(4, "int", 6, "pntsu", "int", false, 24)]
public int pntsu;
[DNAFieldAttribute(4, "int", 7, "pntsv", "int", false, 28)]
public int pntsv;
[DNAArrayAttribute(4, "char", 8, "_pad[4]", "System.Char[]", 4, 32)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(2, "short", 9, "resolu", "short", false, 36)]
public short resolu;
[DNAFieldAttribute(2, "short", 10, "resolv", "short", false, 38)]
public short resolv;
[DNAFieldAttribute(2, "short", 11, "orderu", "short", false, 40)]
public short orderu;
[DNAFieldAttribute(2, "short", 12, "orderv", "short", false, 42)]
public short orderv;
[DNAFieldAttribute(2, "short", 13, "flagu", "short", false, 44)]
public short flagu;
[DNAFieldAttribute(2, "short", 14, "flagv", "short", false, 46)]
public short flagv;
[DNAFieldAttribute(8, "float", 15, "*knotsu", "float", true, 48)]
public float knotsu;
[DNAFieldAttribute(8, "float", 16, "*knotsv", "float", true, 56)]
public float knotsv;
[DNAFieldAttribute(8, "BPoint", 17, "*bp", "BPoint", true, 64)]
public BPoint bp;
[DNAFieldAttribute(8, "BezTriple", 18, "*bezt", "BezTriple", true, 72)]
public BezTriple bezt;
[DNAFieldAttribute(2, "short", 19, "tilt_interp", "short", false, 80)]
public short tilt_interp;
[DNAFieldAttribute(2, "short", 20, "radius_interp", "short", false, 82)]
public short radius_interp;
[DNAFieldAttribute(4, "int", 21, "charidx", "int", false, 84)]
public int charidx;
public Nurb() {
this.next = default;
this.prev = default;
this.type = default;
this.mat_nr = default;
this.hide = default;
this.flag = default;
this.pntsu = default;
this.pntsv = default;
this._pad = default;
this.resolu = default;
this.resolv = default;
this.orderu = default;
this.orderv = default;
this.flagu = default;
this.flagv = default;
this.knotsu = default;
this.knotsv = default;
this.bp = default;
this.bezt = default;
this.tilt_interp = default;
this.radius_interp = default;
this.charidx = default;
}
public Nurb(
Nurb next,
Nurb prev,
short type,
short mat_nr,
short hide,
short flag,
int pntsu,
int pntsv,
char[] _pad,
short resolu,
short resolv,
short orderu,
short orderv,
short flagu,
short flagv,
float knotsu,
float knotsv,
BPoint bp,
BezTriple bezt,
short tilt_interp,
short radius_interp,
int charidx) {
this.next = next;
this.prev = prev;
this.type = type;
this.mat_nr = mat_nr;
this.hide = hide;
this.flag = flag;
this.pntsu = pntsu;
this.pntsv = pntsv;
this._pad = _pad;
this.resolu = resolu;
this.resolv = resolv;
this.orderu = orderu;
this.orderv = orderv;
this.flagu = flagu;
this.flagv = flagv;
this.knotsu = knotsu;
this.knotsv = knotsv;
this.bp = bp;
this.bezt = bezt;
this.tilt_interp = tilt_interp;
this.radius_interp = radius_interp;
this.charidx = charidx;
}
}
}