GetColPolygonHeight: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Server client function}} | {{Server client function}} | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Added feature/item|3.0159|1.5.9|1.5.8|20807|This function is used to get the height of an existing [[createColPolygon|colshape polygon]]. | ||
By default, a colshape polygon is infinitely tall.}} | By default, a colshape polygon is infinitely tall.}} | ||
Line 11: | Line 11: | ||
===Required Arguments=== | ===Required Arguments=== | ||
*'''shape:''' The [[colshape]] polygon | *'''shape:''' The [[colshape]] polygon. | ||
===Returns=== | ===Returns=== |
Revision as of 11:47, 20 September 2021
20807
Syntax
float, float getColPolygonHeight ( colshape shape )
OOP Syntax Help! I don't understand this!
- Method: colshape:getHeight(...)
Required Arguments
- shape: The colshape polygon.
Returns
Returns two floats, indicating the floor and ceiling of the colshape height, false if invalid arguments were passed.
Example
Script Example Missing Function GetColPolygonHeight needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
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