Files
BlenderSharp/BlendFile/DNA/Nurb.cs
2025-02-19 18:48:50 +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(0, "Nurb", "*next", "Nurb", 8, true)]
public Nurb ptr_next;
[DNAFieldAttribute(1, "Nurb", "*prev", "Nurb", 8, true)]
public Nurb ptr_prev;
[DNAFieldAttribute(2, "short", "type", "short", 2, false)]
public short type;
[DNAFieldAttribute(3, "short", "mat_nr", "short", 2, false)]
public short mat_nr;
[DNAFieldAttribute(4, "short", "hide", "short", 2, false)]
public short hide;
[DNAFieldAttribute(5, "short", "flag", "short", 2, false)]
public short flag;
[DNAFieldAttribute(6, "int", "pntsu", "int", 4, false)]
public int pntsu;
[DNAFieldAttribute(7, "int", "pntsv", "int", 4, false)]
public int pntsv;
[DNAFieldAttribute(8, "char", "_pad[4]", "System.Char[]", 4, false)]
public char[] _pad = new System.Char[4];
[DNAFieldAttribute(9, "short", "resolu", "short", 2, false)]
public short resolu;
[DNAFieldAttribute(10, "short", "resolv", "short", 2, false)]
public short resolv;
[DNAFieldAttribute(11, "short", "orderu", "short", 2, false)]
public short orderu;
[DNAFieldAttribute(12, "short", "orderv", "short", 2, false)]
public short orderv;
[DNAFieldAttribute(13, "short", "flagu", "short", 2, false)]
public short flagu;
[DNAFieldAttribute(14, "short", "flagv", "short", 2, false)]
public short flagv;
[DNAFieldAttribute(15, "float", "*knotsu", "float", 8, true)]
public float ptr_knotsu;
[DNAFieldAttribute(16, "float", "*knotsv", "float", 8, true)]
public float ptr_knotsv;
[DNAFieldAttribute(17, "BPoint", "*bp", "BPoint", 8, true)]
public BPoint ptr_bp;
[DNAFieldAttribute(18, "BezTriple", "*bezt", "BezTriple", 8, true)]
public BezTriple ptr_bezt;
[DNAFieldAttribute(19, "short", "tilt_interp", "short", 2, false)]
public short tilt_interp;
[DNAFieldAttribute(20, "short", "radius_interp", "short", 2, false)]
public short radius_interp;
[DNAFieldAttribute(21, "int", "charidx", "int", 4, false)]
public int charidx;
public Nurb() {
this.ptr_next = default;
this.ptr_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.ptr_knotsu = default;
this.ptr_knotsv = default;
this.ptr_bp = default;
this.ptr_bezt = default;
this.tilt_interp = default;
this.radius_interp = default;
this.charidx = default;
}
public Nurb(
Nurb ptr_next,
Nurb ptr_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 ptr_knotsu,
float ptr_knotsv,
BPoint ptr_bp,
BezTriple ptr_bezt,
short tilt_interp,
short radius_interp,
int charidx) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_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.ptr_knotsu = ptr_knotsu;
this.ptr_knotsv = ptr_knotsv;
this.ptr_bp = ptr_bp;
this.ptr_bezt = ptr_bezt;
this.tilt_interp = tilt_interp;
this.radius_interp = radius_interp;
this.charidx = charidx;
}
}
}