Property | Type | Description | |
---|---|---|---|
FieldSim | float[] | ||
FieldSimNew | float[] | ||
FieldSimSpeed | float[] | ||
_simulationSpeedNormalizationFactor | float |
Method | Description | |
---|---|---|
CreateSplashNormalized ( |
Creates a circular drop splash on the fluid surface.
|
|
GetFieldValue ( float x, float z ) : float |
Returns water level at the given position in simulation grid space.
|
|
Initialize ( |
The initialization method. Automatically called by DynamicWater.
|
|
StepSimulation ( float speed, float damping ) : void |
Executes the wave simulation step.
|
public CreateSplashNormalized ( |
||
center | /// The center of the splash in simulation grid space. /// | |
radius | float | /// The radius of the splash. /// |
force | float | /// The amount of force applied to create the splash. /// |
return | void |
public GetFieldValue ( float x, float z ) : float | ||
x | float | /// The x coordinate. /// |
z | float | /// The z coordinate. /// |
return | float |
public Initialize ( |
||
gridSize | /// Simulation grid resolution. /// | |
return | void |
public StepSimulation ( float speed, float damping ) : void | ||
speed | float | /// Overall simulation speed factor. /// |
damping | float | /// The damping value (range 0-1). /// |
return | void |