SetColPolygonHeight
Jump to navigation
Jump to search
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
Minimum server version | 1.5.7-9.20397 |
---|---|
Minimum client version | 1.5.7-9.20397 |
Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="1.5.7-9.20397" client="1.5.7-9.20397" />
See Also
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColPolygonHeight
- getColPolygonPoints
- getColPolygonPointPosition
- getColShapeType
- getColShapeRadius
- getColShapeSize
- getElementColShape
- getElementsWithinColShape
- isElementWithinColShape
- isInsideColShape
- removeColPolygonPoint
- setColPolygonHeight
- setColPolygonPointPosition
- setColShapeRadius
- setColShapeSize