LUADOC - Farming Simulator 17

Printable Version

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 maxSubDivEdgeLength, boolean createSidePlanes)
Arguments
integershapeIdshape id
stringshapeNamename of shape
floatvolumevolume of the fill plane shape (m^3)
floatdeltaMaxvalue of how much the fill plane can be excessed (in meter)
floatmaxSurfaceAnglemaximum surface angle (geometric tuning value in radian)
floatmaxPhysicalSurfaceAnglemaximum physical surface angle (this is usually material dependent in radian)
floatmaxSubDivEdgeLengthdefines the maximum edge-length of the subdivision surface (in meter)
booleancreateSidePlanesstate of side plane creation
Return Values
integerfillPlaneShapeIdid of fill plane shape type