getColPolygonPoints
Client-side
Server-side
Shared
This function is used to get all bound points in a colshape polygon.
OOP Syntax Help! I don't understand this!
- Method:colshape:getPoints(...)
Syntax
table|false getColPolygonPoints ( colshape shape )Required Arguments
- shape: The colshape polygon you wish to get the points of.
Returns
- table|false: points
Returns a table of coordinates, each coordinate being a table containing the x and y position of a bound point, false if invalid arguments were passed.
Code Examples
Script Example Missing
Function getColPolygonPoints needs a script example. Help out by writing one.
See Also
Colshape Functions
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColPolygonHeight
- getColPolygonPointPosition
- getColPolygonPoints
- getColShapeRadius
- getColShapeSize
- getColShapeType
- isInsideColShape
- removeColPolygonPoint
- setColPolygonHeight
- setColPolygonPointPosition
- setColShapeRadius
- setColShapeSize