Свойство | Type | Description | |
---|---|---|---|
AmbientWaveFrequency | float | ||
AmbientWaveHeight | float | ||
AmbientWaveSpeed | float | ||
OnlyAmbient | bool |
Méthode | 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. Called by DynamicWater.
|
|
StepSimulation ( float speed, float damping ) : void |
Executes the 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. /// |
Résultat | void |
public GetFieldValue ( float x, float z ) : float | ||
x | float | /// The x coordinate. /// |
z | float | /// The z coordinate. /// |
Résultat | float |
public Initialize ( |
||
gridSize | /// The simulation grid resolution. /// | |
Résultat | void |
public StepSimulation ( float speed, float damping ) : void | ||
speed | float | /// The overall simulation speed factor. /// |
damping | float | /// The damping value (range 0-1). /// |
Résultat | void |