프로퍼티 | 타입 | 설명 | |
---|---|---|---|
OnlyAmbient | bool | ||
Waves | Wave[] |
메소드 | 설명 | |
---|---|---|
CreateSplashNormalized ( Vector2 center, float radius, float force ) : void | ||
GetFieldValue ( float x, float z ) : float | ||
Initialize ( |
The initialization method. Called by DynamicWater.
|
|
StepSimulation ( float speed, float damping ) : void |
Executes the simulation step.
|
public CreateSplashNormalized ( Vector2 center, float radius, float force ) : void | ||
center | Vector2 | |
radius | float | |
force | float | |
리턴 | void |
public Initialize ( |
||
gridSize | /// The simulation grid resolution. /// | |
리턴 | void |
public StepSimulation ( float speed, float damping ) : void | ||
speed | float | /// The overall simulation speed factor. /// |
damping | float | /// The damping value (range 0-1). /// |
리턴 | void |