getColShapeSize
Client-side
Server-side
Shared
Pair: setColShapeSize
Manual Review Required
Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.
This function is used to get the size of a colshape. Valid types are rectangle, cuboid and tube.
OOP Syntax Help! I don't understand this!
- Method:colshape:getSize(...)
Syntax
float, float, float getColShapeSize ( colshape shape )Required Arguments
- shape: The colshape you wish to get the size of.
Returns
- float: x
- float: y
- float: z
Returns up to 3 floats depending on the colshape type (see below), false if invalid arguments were passed.
Code Examples
shared
TODOSee Also
Colshape Functions
- addColPolygonPoint
- createColCircle
- createColCuboid
- createColPolygon
- createColRectangle
- createColSphere
- createColTube
- getColPolygonHeight
- getColPolygonPointPosition
- getColPolygonPoints
- getColShapeRadius
- getColShapeSize
- getColShapeType
- isInsideColShape
- removeColPolygonPoint
- setColPolygonHeight
- setColPolygonPointPosition
- setColShapeRadius
- setColShapeSize