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

64 lines
2.6 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(451, "ArrayModifierData")]
public class ArrayModifierData {
[DNAFieldAttribute(0, "ModifierData", "modifier", 120)]
public ModifierData modifier;
[DNAFieldAttribute(1, "Object", "*start_cap", 1160)]
public Object ptr_start_cap;
[DNAFieldAttribute(2, "Object", "*end_cap", 1160)]
public Object ptr_end_cap;
[DNAFieldAttribute(3, "Object", "*curve_ob", 1160)]
public Object ptr_curve_ob;
[DNAFieldAttribute(4, "Object", "*offset_ob", 1160)]
public Object ptr_offset_ob;
[DNAFieldAttribute(5, "float", "offset[3]", 4)]
public float[] offset = new System.Single[3];
[DNAFieldAttribute(6, "float", "scale[3]", 4)]
public float[] scale = new System.Single[3];
[DNAFieldAttribute(7, "float", "length", 4)]
public float length;
[DNAFieldAttribute(8, "float", "merge_dist", 4)]
public float merge_dist;
[DNAFieldAttribute(9, "int", "fit_type", 4)]
public int fit_type;
[DNAFieldAttribute(10, "int", "offset_type", 4)]
public int offset_type;
[DNAFieldAttribute(11, "int", "flags", 4)]
public int flags;
[DNAFieldAttribute(12, "int", "count", 4)]
public int count;
[DNAFieldAttribute(13, "float", "uv_offset[2]", 4)]
public float[] uv_offset = new System.Single[2];
public ArrayModifierData(ModifierData modifier, Object ptr_start_cap, Object ptr_end_cap, Object ptr_curve_ob, Object ptr_offset_ob, float[] offset, float[] scale, float length, float merge_dist, int fit_type, int offset_type, int flags, int count, float[] uv_offset) {
this.modifier = modifier;
this.ptr_start_cap = ptr_start_cap;
this.ptr_end_cap = ptr_end_cap;
this.ptr_curve_ob = ptr_curve_ob;
this.ptr_offset_ob = ptr_offset_ob;
this.offset = offset;
this.scale = scale;
this.length = length;
this.merge_dist = merge_dist;
this.fit_type = fit_type;
this.offset_type = offset_type;
this.flags = flags;
this.count = count;
this.uv_offset = uv_offset;
}
}
}