LUADOC - Farming Simulator 22

createFillPlaneShape

Description
Creates a fill plane shape based on shapeId
Definition
createFillPlaneShape(integer shapeId, string shapeName, float volume, float deltaMax, float maxSurfaceAngle, float maxPhysicalSurfaceAngle, float maxSurfaceDistanceError, float maxSubDivEdgeLength, float syncMaxSubDivEdgeLength, boolean createSidePlanes, boolean retessellateTop)
Arguments
integershapeIdshapeId
stringshapeNameshapeName
floatvolumevolume
floatdeltaMaxdeltaMax
floatmaxSurfaceAnglemaxSurfaceAngle
floatmaxPhysicalSurfaceAnglemaxPhysicalSurfaceAngle
floatmaxSurfaceDistanceErrormaxSurfaceDistanceError
floatmaxSubDivEdgeLengthmaxSubDivEdgeLength
floatsyncMaxSubDivEdgeLengthsyncMaxSubDivEdgeLength
booleancreateSidePlanescreateSidePlanes
booleanretessellateTopretessellateTop
Return Values
integerfillPlaneShapeIdfillPlaneShapeId