SmoothGrid

Constructors

NameArgumentsReturnsDescription
SmoothGrid.Decode(bytes: buffer | string)SmoothGrid
SmoothGrid.new()SmoothGrid

Constants

NameTypeDescription
SmoothGrid.MATERIALS{ string }

Methods

NameArgumentsReturnsDescription
Encode()buffer
GetCell(x: number, y: number, z: number)(string, number)
SetCell(x: number, y: number, z: number, material: string, occupancy: number?)()
ReadVoxels(min: Vector3, max: Vector3)({ { { string } } }, { { { number } } })
WriteVoxels(min: Vector3, max: Vector3, materials: { { { string } } }, occupancies: { { { number } } })()
ReplaceMaterial(min: Vector3, max: Vector3, source: string, target: string)()
FillBall(center: Vector3, radius: number, material: string)()
FillBlock(cframe: CFrame, size: Vector3, material: string)()
FillCylinder(cframe: CFrame, height: number, radius: number, material: string)()
Add(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Subtract(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Paint(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Smooth(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Flatten(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Grow(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()
Erode(center: Vector3, size: number, material: string, strength: number, options: SmoothGridBrushOptions?)()