Shape:getVolume

Edit

Returns the volume of the Shape, in cubic meters.

volume = Shape:getVolume()

Arguments

None

Returns

NameTypeDescription
volumenumber The volume of the shape, in cubic meters.

Notes

MeshShape and TerrainShape do not have volume, and will return 0.

See also