Property | Type | Description | |
---|---|---|---|
_collider | |||
_transform |
Method | Description | |
---|---|---|
CreateSplash ( |
Creates a circular drop splash on the fluid surface (if available).
|
|
GetWaterLevel ( |
Returns water level at the given position in world space.
|
|
GetWaterLevel ( float x, float z ) : float |
Returns water level at the given position in simulation grid space.
|
|
GetWaterLevel ( float x, float y, float z ) : float |
Returns water level at the given position in world space.
|
Method | Description | |
---|---|---|
CreateCollider ( ) : void |
Creates the Collider and updates its bounds.
|
|
Initialize ( ) : void |
Initializes the Collider and updates its bounds.
|
|
PropertyChanged ( ) : void | ||
UpdateCollider ( ) : void |
Updates the collider bounds according to the Size and Depth.
|
Method | Description | |
---|---|---|
OnDrawGizmos ( ) : void | ||
Start ( ) : void |
public CreateSplash ( |
||
center | /// The center of the splash in local space. /// | |
radius | float | /// The radius of the splash. /// |
force | float | /// The amount of force applied to create the splash. /// |
return | void |
public GetWaterLevel ( |
||
position | /// The position at which to query the water level. /// | |
return | float |
public GetWaterLevel ( float x, float z ) : float | ||
x | float | /// The x coordinate. /// |
z | float | /// The z coordinate. /// |
return | float |
public GetWaterLevel ( float x, float y, float z ) : float | ||
x | float | /// The x coordinate. /// |
y | float | /// The y coordinate. /// |
z | float | /// The z coordinate. /// |
return | float |
protected BoxCollider,UnityEngine _collider | ||
return |