71 lines
2.5 KiB
C#
71 lines
2.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 {
|
|
|
|
public struct SPHFluidSettings {
|
|
public float radius;
|
|
public float spring_k;
|
|
public float rest_length;
|
|
public float plasticity_constant;
|
|
public float yield_ratio;
|
|
public float plasticity_balance;
|
|
public float yield_balance;
|
|
public float viscosity_omega;
|
|
public float viscosity_beta;
|
|
public float stiffness_k;
|
|
public float stiffness_knear;
|
|
public float rest_density;
|
|
public float buoyancy;
|
|
public int flag;
|
|
public int spring_frames;
|
|
public short solver;
|
|
public char[] _pad = new System.Char[6];
|
|
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;
|
|
}
|
|
}
|
|
}
|