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

102 lines
3.9 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(79, "FCurve")]
public class FCurve {
[DNAFieldAttribute(0, "FCurve", "*next", 120)]
public FCurve ptr_next;
[DNAFieldAttribute(1, "FCurve", "*prev", 120)]
public FCurve ptr_prev;
[DNAFieldAttribute(2, "bActionGroup", "*grp", 136)]
public bActionGroup ptr_grp;
[DNAFieldAttribute(3, "ChannelDriver", "*driver", 304)]
public ChannelDriver ptr_driver;
[DNAFieldAttribute(4, "ListBase", "modifiers", 16)]
public ListBase modifiers;
[DNAFieldAttribute(5, "BezTriple", "*bezt", 72)]
public BezTriple ptr_bezt;
[DNAFieldAttribute(6, "FPoint", "*fpt", 16)]
public FPoint ptr_fpt;
[DNAFieldAttribute(7, "int", "totvert", 4)]
public int totvert;
[DNAFieldAttribute(8, "int", "active_keyframe_index", 4)]
public int active_keyframe_index;
[DNAFieldAttribute(9, "float", "curval", 4)]
public float curval;
[DNAFieldAttribute(10, "short", "flag", 2)]
public short flag;
[DNAFieldAttribute(11, "short", "extend", 2)]
public short extend;
[DNAFieldAttribute(12, "char", "auto_smoothing", 1)]
public char auto_smoothing;
[DNAFieldAttribute(13, "char", "_pad[3]", 1)]
public char[] _pad = new System.Char[3];
[DNAFieldAttribute(14, "int", "array_index", 4)]
public int array_index;
[DNAFieldAttribute(15, "char", "*rna_path", 1)]
public char ptr_rna_path;
[DNAFieldAttribute(16, "int", "color_mode", 4)]
public int color_mode;
[DNAFieldAttribute(17, "float", "color[3]", 4)]
public float[] color = new System.Single[3];
[DNAFieldAttribute(18, "float", "prev_norm_factor", 4)]
public float prev_norm_factor;
[DNAFieldAttribute(19, "float", "prev_offset", 4)]
public float prev_offset;
public FCurve(
FCurve ptr_next,
FCurve ptr_prev,
bActionGroup ptr_grp,
ChannelDriver ptr_driver,
ListBase modifiers,
BezTriple ptr_bezt,
FPoint ptr_fpt,
int totvert,
int active_keyframe_index,
float curval,
short flag,
short extend,
char auto_smoothing,
char[] _pad,
int array_index,
char ptr_rna_path,
int color_mode,
float[] color,
float prev_norm_factor,
float prev_offset) {
this.ptr_next = ptr_next;
this.ptr_prev = ptr_prev;
this.ptr_grp = ptr_grp;
this.ptr_driver = ptr_driver;
this.modifiers = modifiers;
this.ptr_bezt = ptr_bezt;
this.ptr_fpt = ptr_fpt;
this.totvert = totvert;
this.active_keyframe_index = active_keyframe_index;
this.curval = curval;
this.flag = flag;
this.extend = extend;
this.auto_smoothing = auto_smoothing;
this._pad = _pad;
this.array_index = array_index;
this.ptr_rna_path = ptr_rna_path;
this.color_mode = color_mode;
this.color = color;
this.prev_norm_factor = prev_norm_factor;
this.prev_offset = prev_offset;
}
}
}