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

46 lines
1.7 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(252, "FreestyleConfig")]
public struct FreestyleConfig {
[DNAFieldAttribute(0, "ListBase", "modules", 16)]
public ListBase modules;
[DNAFieldAttribute(1, "int", "mode", 4)]
public int mode;
[DNAFieldAttribute(2, "int", "raycasting_algorithm", 4)]
public int raycasting_algorithm;
[DNAFieldAttribute(3, "int", "flags", 4)]
public int flags;
[DNAFieldAttribute(4, "float", "sphere_radius", 4)]
public float sphere_radius;
[DNAFieldAttribute(5, "float", "dkr_epsilon", 4)]
public float dkr_epsilon;
[DNAFieldAttribute(6, "float", "crease_angle", 4)]
public float crease_angle;
[DNAFieldAttribute(7, "ListBase", "linesets", 16)]
public ListBase linesets;
public FreestyleConfig(ListBase modules, int mode, int raycasting_algorithm, int flags, float sphere_radius, float dkr_epsilon, float crease_angle, ListBase linesets) {
this.modules = modules;
this.mode = mode;
this.raycasting_algorithm = raycasting_algorithm;
this.flags = flags;
this.sphere_radius = sphere_radius;
this.dkr_epsilon = dkr_epsilon;
this.crease_angle = crease_angle;
this.linesets = linesets;
}
}
}