SetColPolygonHeight: Difference between revisions
Jump to navigation
Jump to search
CrosRoad95 (talk | contribs) (Created page with "{{Server client function}} __NOTOC__ {{New feature/item|3.0158|1.5.7|20397|This function is used to change height of an existing colshape polygon.}} ==Sy...") |
(→Syntax) |
||
Line 5: | Line 5: | ||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool setColPolygonHeight( colshape shape, float fFloor, float fCeil) | bool setColPolygonHeight( colshape shape, float fFloor, float fCeil ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[colshape]]:setHeight|}} | {{OOP||[[colshape]]:setHeight|}} |
Revision as of 08:29, 23 January 2021
This function is used to change height of an existing colshape polygon.
Syntax
bool setColPolygonHeight( colshape shape, float fFloor, float fCeil )
OOP Syntax Help! I don't understand this!
- Method: colshape:setHeight(...)
Required Arguments
- shape: The colshape polygon
- fFloor: The polygon floor
- fCeil: The polygon ceil
Returns
Returns true if the polygon was changed, false if invalid arguments were passed.
Example
TODO
Requirements
This template will be deleted.
See Also
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColPolygonHeight
- getColPolygonPoints
- getColPolygonPointPosition
- getColShapeType
- getColShapeRadius
- getColShapeSize
- getElementColShape
- getElementsWithinColShape
- isElementWithinColShape
- isInsideColShape
- removeColPolygonPoint
- setColPolygonHeight
- setColPolygonPointPosition
- setColShapeRadius
- setColShapeSize