SetWaterCell
Deprecated
This item is a deprecated function of a legacy Terrain engine that has been removed. Do not use it for new work.
Unsafe
For thread safety, this property is not safe to read in an unsynchronized thread.
Sets the specified terrain voxel’s material to ‘‘Water’’ and sets its occupancy to 1. WaterDirection and WaterForce no longer have any effect.
Note: This API was intended for Roblox’s old terrain system, which has since been removed from the engine.
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
Returns
| Return Type | Summary |
|---|---|