284 lines
13 KiB
C#
284 lines
13 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(482, "FluidsimSettings", 1240)]
|
|
public class FluidsimSettings {
|
|
[DNAFieldAttribute(0, "FluidsimModifierData", "*fmd", "FluidsimModifierData", 8, true)]
|
|
public FluidsimModifierData ptr_fmd;
|
|
[DNAFieldAttribute(1, "int", "threads", "int", 4, false)]
|
|
public int threads;
|
|
[DNAFieldAttribute(2, "char", "_pad1[4]", "System.Char[]", 4, false)]
|
|
public char[] _pad1 = new System.Char[4];
|
|
[DNAFieldAttribute(3, "short", "type", "short", 2, false)]
|
|
public short type;
|
|
[DNAFieldAttribute(4, "short", "show_advancedoptions", "short", 2, false)]
|
|
public short show_advancedoptions;
|
|
[DNAFieldAttribute(5, "short", "resolutionxyz", "short", 2, false)]
|
|
public short resolutionxyz;
|
|
[DNAFieldAttribute(6, "short", "previewresxyz", "short", 2, false)]
|
|
public short previewresxyz;
|
|
[DNAFieldAttribute(7, "float", "realsize", "float", 4, false)]
|
|
public float realsize;
|
|
[DNAFieldAttribute(8, "short", "guiDisplayMode", "short", 2, false)]
|
|
public short guiDisplayMode;
|
|
[DNAFieldAttribute(9, "short", "renderDisplayMode", "short", 2, false)]
|
|
public short renderDisplayMode;
|
|
[DNAFieldAttribute(10, "float", "viscosityValue", "float", 4, false)]
|
|
public float viscosityValue;
|
|
[DNAFieldAttribute(11, "short", "viscosityMode", "short", 2, false)]
|
|
public short viscosityMode;
|
|
[DNAFieldAttribute(12, "short", "viscosityExponent", "short", 2, false)]
|
|
public short viscosityExponent;
|
|
[DNAFieldAttribute(13, "float", "grav[3]", "System.Single[]", 12, false)]
|
|
public float[] grav = new System.Single[3];
|
|
[DNAFieldAttribute(14, "float", "animStart", "float", 4, false)]
|
|
public float animStart;
|
|
[DNAFieldAttribute(15, "float", "animEnd", "float", 4, false)]
|
|
public float animEnd;
|
|
[DNAFieldAttribute(16, "int", "bakeStart", "int", 4, false)]
|
|
public int bakeStart;
|
|
[DNAFieldAttribute(17, "int", "bakeEnd", "int", 4, false)]
|
|
public int bakeEnd;
|
|
[DNAFieldAttribute(18, "int", "frameOffset", "int", 4, false)]
|
|
public int frameOffset;
|
|
[DNAFieldAttribute(19, "char", "_pad2[4]", "System.Char[]", 4, false)]
|
|
public char[] _pad2 = new System.Char[4];
|
|
[DNAFieldAttribute(20, "float", "gstar", "float", 4, false)]
|
|
public float gstar;
|
|
[DNAFieldAttribute(21, "int", "maxRefine", "int", 4, false)]
|
|
public int maxRefine;
|
|
[DNAFieldAttribute(22, "float", "iniVelx", "float", 4, false)]
|
|
public float iniVelx;
|
|
[DNAFieldAttribute(23, "float", "iniVely", "float", 4, false)]
|
|
public float iniVely;
|
|
[DNAFieldAttribute(24, "float", "iniVelz", "float", 4, false)]
|
|
public float iniVelz;
|
|
[DNAFieldAttribute(25, "char", "surfdataPath[1024]", "System.Char[]", 1024, false)]
|
|
public char[] surfdataPath = new System.Char[1024];
|
|
[DNAFieldAttribute(26, "float", "bbStart[3]", "System.Single[]", 12, false)]
|
|
public float[] bbStart = new System.Single[3];
|
|
[DNAFieldAttribute(27, "float", "bbSize[3]", "System.Single[]", 12, false)]
|
|
public float[] bbSize = new System.Single[3];
|
|
[DNAFieldAttribute(28, "Ipo", "*ipo", "Ipo", 8, true)]
|
|
public Ipo ptr_ipo;
|
|
[DNAFieldAttribute(29, "short", "typeFlags", "short", 2, false)]
|
|
public short typeFlags;
|
|
[DNAFieldAttribute(30, "char", "domainNovecgen", "char", 1, false)]
|
|
public char domainNovecgen;
|
|
[DNAFieldAttribute(31, "char", "volumeInitType", "char", 1, false)]
|
|
public char volumeInitType;
|
|
[DNAFieldAttribute(32, "float", "partSlipValue", "float", 4, false)]
|
|
public float partSlipValue;
|
|
[DNAFieldAttribute(33, "int", "generateTracers", "int", 4, false)]
|
|
public int generateTracers;
|
|
[DNAFieldAttribute(34, "float", "generateParticles", "float", 4, false)]
|
|
public float generateParticles;
|
|
[DNAFieldAttribute(35, "float", "surfaceSmoothing", "float", 4, false)]
|
|
public float surfaceSmoothing;
|
|
[DNAFieldAttribute(36, "int", "surfaceSubdivs", "int", 4, false)]
|
|
public int surfaceSubdivs;
|
|
[DNAFieldAttribute(37, "int", "flag", "int", 4, false)]
|
|
public int flag;
|
|
[DNAFieldAttribute(38, "float", "particleInfSize", "float", 4, false)]
|
|
public float particleInfSize;
|
|
[DNAFieldAttribute(39, "float", "particleInfAlpha", "float", 4, false)]
|
|
public float particleInfAlpha;
|
|
[DNAFieldAttribute(40, "float", "farFieldSize", "float", 4, false)]
|
|
public float farFieldSize;
|
|
[DNAFieldAttribute(41, "FluidVertexVelocity", "*meshVelocities", "FluidVertexVelocity", 8, true)]
|
|
public FluidVertexVelocity ptr_meshVelocities;
|
|
[DNAFieldAttribute(42, "int", "totvert", "int", 4, false)]
|
|
public int totvert;
|
|
[DNAFieldAttribute(43, "float", "cpsTimeStart", "float", 4, false)]
|
|
public float cpsTimeStart;
|
|
[DNAFieldAttribute(44, "float", "cpsTimeEnd", "float", 4, false)]
|
|
public float cpsTimeEnd;
|
|
[DNAFieldAttribute(45, "float", "cpsQuality", "float", 4, false)]
|
|
public float cpsQuality;
|
|
[DNAFieldAttribute(46, "float", "attractforceStrength", "float", 4, false)]
|
|
public float attractforceStrength;
|
|
[DNAFieldAttribute(47, "float", "attractforceRadius", "float", 4, false)]
|
|
public float attractforceRadius;
|
|
[DNAFieldAttribute(48, "float", "velocityforceStrength", "float", 4, false)]
|
|
public float velocityforceStrength;
|
|
[DNAFieldAttribute(49, "float", "velocityforceRadius", "float", 4, false)]
|
|
public float velocityforceRadius;
|
|
[DNAFieldAttribute(50, "int", "lastgoodframe", "int", 4, false)]
|
|
public int lastgoodframe;
|
|
[DNAFieldAttribute(51, "float", "animRate", "float", 4, false)]
|
|
public float animRate;
|
|
public FluidsimSettings() {
|
|
this.ptr_fmd = default;
|
|
this.threads = default;
|
|
this._pad1 = default;
|
|
this.type = default;
|
|
this.show_advancedoptions = default;
|
|
this.resolutionxyz = default;
|
|
this.previewresxyz = default;
|
|
this.realsize = default;
|
|
this.guiDisplayMode = default;
|
|
this.renderDisplayMode = default;
|
|
this.viscosityValue = default;
|
|
this.viscosityMode = default;
|
|
this.viscosityExponent = default;
|
|
this.grav = default;
|
|
this.animStart = default;
|
|
this.animEnd = default;
|
|
this.bakeStart = default;
|
|
this.bakeEnd = default;
|
|
this.frameOffset = default;
|
|
this._pad2 = default;
|
|
this.gstar = default;
|
|
this.maxRefine = default;
|
|
this.iniVelx = default;
|
|
this.iniVely = default;
|
|
this.iniVelz = default;
|
|
this.surfdataPath = default;
|
|
this.bbStart = default;
|
|
this.bbSize = default;
|
|
this.ptr_ipo = default;
|
|
this.typeFlags = default;
|
|
this.domainNovecgen = default;
|
|
this.volumeInitType = default;
|
|
this.partSlipValue = default;
|
|
this.generateTracers = default;
|
|
this.generateParticles = default;
|
|
this.surfaceSmoothing = default;
|
|
this.surfaceSubdivs = default;
|
|
this.flag = default;
|
|
this.particleInfSize = default;
|
|
this.particleInfAlpha = default;
|
|
this.farFieldSize = default;
|
|
this.ptr_meshVelocities = default;
|
|
this.totvert = default;
|
|
this.cpsTimeStart = default;
|
|
this.cpsTimeEnd = default;
|
|
this.cpsQuality = default;
|
|
this.attractforceStrength = default;
|
|
this.attractforceRadius = default;
|
|
this.velocityforceStrength = default;
|
|
this.velocityforceRadius = default;
|
|
this.lastgoodframe = default;
|
|
this.animRate = default;
|
|
}
|
|
public FluidsimSettings(
|
|
FluidsimModifierData ptr_fmd,
|
|
int threads,
|
|
char[] _pad1,
|
|
short type,
|
|
short show_advancedoptions,
|
|
short resolutionxyz,
|
|
short previewresxyz,
|
|
float realsize,
|
|
short guiDisplayMode,
|
|
short renderDisplayMode,
|
|
float viscosityValue,
|
|
short viscosityMode,
|
|
short viscosityExponent,
|
|
float[] grav,
|
|
float animStart,
|
|
float animEnd,
|
|
int bakeStart,
|
|
int bakeEnd,
|
|
int frameOffset,
|
|
char[] _pad2,
|
|
float gstar,
|
|
int maxRefine,
|
|
float iniVelx,
|
|
float iniVely,
|
|
float iniVelz,
|
|
char[] surfdataPath,
|
|
float[] bbStart,
|
|
float[] bbSize,
|
|
Ipo ptr_ipo,
|
|
short typeFlags,
|
|
char domainNovecgen,
|
|
char volumeInitType,
|
|
float partSlipValue,
|
|
int generateTracers,
|
|
float generateParticles,
|
|
float surfaceSmoothing,
|
|
int surfaceSubdivs,
|
|
int flag,
|
|
float particleInfSize,
|
|
float particleInfAlpha,
|
|
float farFieldSize,
|
|
FluidVertexVelocity ptr_meshVelocities,
|
|
int totvert,
|
|
float cpsTimeStart,
|
|
float cpsTimeEnd,
|
|
float cpsQuality,
|
|
float attractforceStrength,
|
|
float attractforceRadius,
|
|
float velocityforceStrength,
|
|
float velocityforceRadius,
|
|
int lastgoodframe,
|
|
float animRate) {
|
|
this.ptr_fmd = ptr_fmd;
|
|
this.threads = threads;
|
|
this._pad1 = _pad1;
|
|
this.type = type;
|
|
this.show_advancedoptions = show_advancedoptions;
|
|
this.resolutionxyz = resolutionxyz;
|
|
this.previewresxyz = previewresxyz;
|
|
this.realsize = realsize;
|
|
this.guiDisplayMode = guiDisplayMode;
|
|
this.renderDisplayMode = renderDisplayMode;
|
|
this.viscosityValue = viscosityValue;
|
|
this.viscosityMode = viscosityMode;
|
|
this.viscosityExponent = viscosityExponent;
|
|
this.grav = grav;
|
|
this.animStart = animStart;
|
|
this.animEnd = animEnd;
|
|
this.bakeStart = bakeStart;
|
|
this.bakeEnd = bakeEnd;
|
|
this.frameOffset = frameOffset;
|
|
this._pad2 = _pad2;
|
|
this.gstar = gstar;
|
|
this.maxRefine = maxRefine;
|
|
this.iniVelx = iniVelx;
|
|
this.iniVely = iniVely;
|
|
this.iniVelz = iniVelz;
|
|
this.surfdataPath = surfdataPath;
|
|
this.bbStart = bbStart;
|
|
this.bbSize = bbSize;
|
|
this.ptr_ipo = ptr_ipo;
|
|
this.typeFlags = typeFlags;
|
|
this.domainNovecgen = domainNovecgen;
|
|
this.volumeInitType = volumeInitType;
|
|
this.partSlipValue = partSlipValue;
|
|
this.generateTracers = generateTracers;
|
|
this.generateParticles = generateParticles;
|
|
this.surfaceSmoothing = surfaceSmoothing;
|
|
this.surfaceSubdivs = surfaceSubdivs;
|
|
this.flag = flag;
|
|
this.particleInfSize = particleInfSize;
|
|
this.particleInfAlpha = particleInfAlpha;
|
|
this.farFieldSize = farFieldSize;
|
|
this.ptr_meshVelocities = ptr_meshVelocities;
|
|
this.totvert = totvert;
|
|
this.cpsTimeStart = cpsTimeStart;
|
|
this.cpsTimeEnd = cpsTimeEnd;
|
|
this.cpsQuality = cpsQuality;
|
|
this.attractforceStrength = attractforceStrength;
|
|
this.attractforceRadius = attractforceRadius;
|
|
this.velocityforceStrength = velocityforceStrength;
|
|
this.velocityforceRadius = velocityforceRadius;
|
|
this.lastgoodframe = lastgoodframe;
|
|
this.animRate = animRate;
|
|
}
|
|
}
|
|
}
|