FillWedge
Unsafe
For thread safety, this property is not safe to read in an unsynchronized thread.
FillWedge fills a wedge-shaped volume of Terrain with the given enum/Material and the area’s CFrame and Size. The orientation of the wedge is the same as an equivalent WedgePart.
In the image above, a floating chunk of Terrain was created by calling this function as in the following code. A transparent, pink part with the Front surface marked with a Motor indicates the provided CFrame and Size.
workspace.Terrain:FillWedge(CFrame.new(0, 50, 0), Vector3.new(20, 20, 20), Enum.Material.Asphalt)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
|
|
The position and orientation of the wedge to fill |
||
|
|
The size of the wedge to fill |
||
|
|
The material with which the wedge will be filled |
Returns
| Return Type | Summary |
|---|---|