Files
BlenderSharp/BlendFile/DNA/SPHFluidSettings.cs

109 lines
4.5 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(784, "SPHFluidSettings", 68)]
public struct SPHFluidSettings {
[DNAFieldAttribute(0, "float", "radius", "float", 4, false, 0)]
public float radius;
[DNAFieldAttribute(1, "float", "spring_k", "float", 4, false, 4)]
public float spring_k;
[DNAFieldAttribute(2, "float", "rest_length", "float", 4, false, 8)]
public float rest_length;
[DNAFieldAttribute(3, "float", "plasticity_constant", "float", 4, false, 12)]
public float plasticity_constant;
[DNAFieldAttribute(4, "float", "yield_ratio", "float", 4, false, 16)]
public float yield_ratio;
[DNAFieldAttribute(5, "float", "plasticity_balance", "float", 4, false, 20)]
public float plasticity_balance;
[DNAFieldAttribute(6, "float", "yield_balance", "float", 4, false, 24)]
public float yield_balance;
[DNAFieldAttribute(7, "float", "viscosity_omega", "float", 4, false, 28)]
public float viscosity_omega;
[DNAFieldAttribute(8, "float", "viscosity_beta", "float", 4, false, 32)]
public float viscosity_beta;
[DNAFieldAttribute(9, "float", "stiffness_k", "float", 4, false, 36)]
public float stiffness_k;
[DNAFieldAttribute(10, "float", "stiffness_knear", "float", 4, false, 40)]
public float stiffness_knear;
[DNAFieldAttribute(11, "float", "rest_density", "float", 4, false, 44)]
public float rest_density;
[DNAFieldAttribute(12, "float", "buoyancy", "float", 4, false, 48)]
public float buoyancy;
[DNAFieldAttribute(13, "int", "flag", "int", 4, false, 52)]
public int flag;
[DNAFieldAttribute(14, "int", "spring_frames", "int", 4, false, 56)]
public int spring_frames;
[DNAFieldAttribute(15, "short", "solver", "short", 2, false, 60)]
public short solver;
[DNAFieldAttribute(16, "char", "_pad[6]", "System.Char[]", 6, false, 62)]
public char[] _pad = new System.Char[6];
public SPHFluidSettings() {
this.radius = default;
this.spring_k = default;
this.rest_length = default;
this.plasticity_constant = default;
this.yield_ratio = default;
this.plasticity_balance = default;
this.yield_balance = default;
this.viscosity_omega = default;
this.viscosity_beta = default;
this.stiffness_k = default;
this.stiffness_knear = default;
this.rest_density = default;
this.buoyancy = default;
this.flag = default;
this.spring_frames = default;
this.solver = default;
this._pad = default;
}
public SPHFluidSettings(
float radius,
float spring_k,
float rest_length,
float plasticity_constant,
float yield_ratio,
float plasticity_balance,
float yield_balance,
float viscosity_omega,
float viscosity_beta,
float stiffness_k,
float stiffness_knear,
float rest_density,
float buoyancy,
int flag,
int spring_frames,
short solver,
char[] _pad) {
this.radius = radius;
this.spring_k = spring_k;
this.rest_length = rest_length;
this.plasticity_constant = plasticity_constant;
this.yield_ratio = yield_ratio;
this.plasticity_balance = plasticity_balance;
this.yield_balance = yield_balance;
this.viscosity_omega = viscosity_omega;
this.viscosity_beta = viscosity_beta;
this.stiffness_k = stiffness_k;
this.stiffness_knear = stiffness_knear;
this.rest_density = rest_density;
this.buoyancy = buoyancy;
this.flag = flag;
this.spring_frames = spring_frames;
this.solver = solver;
this._pad = _pad;
}
}
}