Files
BlenderSharp/BlendFile/DNA/OceanModifierData.cs
2025-03-04 18:48:04 +01:00

194 lines
8.3 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(489, "OceanModifierData", 1392)]
public class OceanModifierData {
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
public ModifierData modifier;
[DNAFieldAttribute(8, "Ocean", 1, "*ocean", "Ocean", true, 120)]
public Ocean ocean;
[DNAFieldAttribute(8, "OceanCache", 2, "*oceancache", "OceanCache", true, 128)]
public OceanCache oceancache;
[DNAFieldAttribute(4, "int", 3, "resolution", "int", false, 136)]
public int resolution;
[DNAFieldAttribute(4, "int", 4, "viewport_resolution", "int", false, 140)]
public int viewport_resolution;
[DNAFieldAttribute(4, "int", 5, "spatial_size", "int", false, 144)]
public int spatial_size;
[DNAFieldAttribute(4, "float", 6, "wind_velocity", "float", false, 148)]
public float wind_velocity;
[DNAFieldAttribute(4, "float", 7, "damp", "float", false, 152)]
public float damp;
[DNAFieldAttribute(4, "float", 8, "smallest_wave", "float", false, 156)]
public float smallest_wave;
[DNAFieldAttribute(4, "float", 9, "depth", "float", false, 160)]
public float depth;
[DNAFieldAttribute(4, "float", 10, "wave_alignment", "float", false, 164)]
public float wave_alignment;
[DNAFieldAttribute(4, "float", 11, "wave_direction", "float", false, 168)]
public float wave_direction;
[DNAFieldAttribute(4, "float", 12, "wave_scale", "float", false, 172)]
public float wave_scale;
[DNAFieldAttribute(4, "float", 13, "chop_amount", "float", false, 176)]
public float chop_amount;
[DNAFieldAttribute(4, "float", 14, "foam_coverage", "float", false, 180)]
public float foam_coverage;
[DNAFieldAttribute(4, "float", 15, "time", "float", false, 184)]
public float time;
[DNAFieldAttribute(4, "int", 16, "spectrum", "int", false, 188)]
public int spectrum;
[DNAFieldAttribute(4, "float", 17, "fetch_jonswap", "float", false, 192)]
public float fetch_jonswap;
[DNAFieldAttribute(4, "float", 18, "sharpen_peak_jonswap", "float", false, 196)]
public float sharpen_peak_jonswap;
[DNAFieldAttribute(4, "int", 19, "bakestart", "int", false, 200)]
public int bakestart;
[DNAFieldAttribute(4, "int", 20, "bakeend", "int", false, 204)]
public int bakeend;
[DNAFieldAttribute(1024, "char", 21, "cachepath[1024]", "System.Char[]", false, 208)]
public char[] cachepath = new System.Char[1024];
[DNAFieldAttribute(68, "char", 22, "foamlayername[68]", "System.Char[]", false, 1232)]
public char[] foamlayername = new System.Char[68];
[DNAFieldAttribute(68, "char", 23, "spraylayername[68]", "System.Char[]", false, 1300)]
public char[] spraylayername = new System.Char[68];
[DNAFieldAttribute(1, "char", 24, "cached", "char", false, 1368)]
public char cached;
[DNAFieldAttribute(1, "char", 25, "geometry_mode", "char", false, 1369)]
public char geometry_mode;
[DNAFieldAttribute(1, "char", 26, "flag", "char", false, 1370)]
public char flag;
[DNAFieldAttribute(1, "char", 27, "_pad2", "char", false, 1371)]
public char _pad2;
[DNAFieldAttribute(2, "short", 28, "repeat_x", "short", false, 1372)]
public short repeat_x;
[DNAFieldAttribute(2, "short", 29, "repeat_y", "short", false, 1374)]
public short repeat_y;
[DNAFieldAttribute(4, "int", 30, "seed", "int", false, 1376)]
public int seed;
[DNAFieldAttribute(4, "float", 31, "size", "float", false, 1380)]
public float size;
[DNAFieldAttribute(4, "float", 32, "foam_fade", "float", false, 1384)]
public float foam_fade;
[DNAFieldAttribute(4, "char", 33, "_pad[4]", "System.Char[]", false, 1388)]
public char[] _pad = new System.Char[4];
public OceanModifierData() {
this.modifier = default;
this.ocean = default;
this.oceancache = default;
this.resolution = default;
this.viewport_resolution = default;
this.spatial_size = default;
this.wind_velocity = default;
this.damp = default;
this.smallest_wave = default;
this.depth = default;
this.wave_alignment = default;
this.wave_direction = default;
this.wave_scale = default;
this.chop_amount = default;
this.foam_coverage = default;
this.time = default;
this.spectrum = default;
this.fetch_jonswap = default;
this.sharpen_peak_jonswap = default;
this.bakestart = default;
this.bakeend = default;
this.cachepath = default;
this.foamlayername = default;
this.spraylayername = default;
this.cached = default;
this.geometry_mode = default;
this.flag = default;
this._pad2 = default;
this.repeat_x = default;
this.repeat_y = default;
this.seed = default;
this.size = default;
this.foam_fade = default;
this._pad = default;
}
public OceanModifierData(
ModifierData modifier,
Ocean ocean,
OceanCache oceancache,
int resolution,
int viewport_resolution,
int spatial_size,
float wind_velocity,
float damp,
float smallest_wave,
float depth,
float wave_alignment,
float wave_direction,
float wave_scale,
float chop_amount,
float foam_coverage,
float time,
int spectrum,
float fetch_jonswap,
float sharpen_peak_jonswap,
int bakestart,
int bakeend,
char[] cachepath,
char[] foamlayername,
char[] spraylayername,
char cached,
char geometry_mode,
char flag,
char _pad2,
short repeat_x,
short repeat_y,
int seed,
float size,
float foam_fade,
char[] _pad) {
this.modifier = modifier;
this.ocean = ocean;
this.oceancache = oceancache;
this.resolution = resolution;
this.viewport_resolution = viewport_resolution;
this.spatial_size = spatial_size;
this.wind_velocity = wind_velocity;
this.damp = damp;
this.smallest_wave = smallest_wave;
this.depth = depth;
this.wave_alignment = wave_alignment;
this.wave_direction = wave_direction;
this.wave_scale = wave_scale;
this.chop_amount = chop_amount;
this.foam_coverage = foam_coverage;
this.time = time;
this.spectrum = spectrum;
this.fetch_jonswap = fetch_jonswap;
this.sharpen_peak_jonswap = sharpen_peak_jonswap;
this.bakestart = bakestart;
this.bakeend = bakeend;
this.cachepath = cachepath;
this.foamlayername = foamlayername;
this.spraylayername = spraylayername;
this.cached = cached;
this.geometry_mode = geometry_mode;
this.flag = flag;
this._pad2 = _pad2;
this.repeat_x = repeat_x;
this.repeat_y = repeat_y;
this.seed = seed;
this.size = size;
this.foam_fade = foam_fade;
this._pad = _pad;
}
}
}