getColShapeSize
Client-side
Server-side
Shared
Pair: setColShapeSize
OOP Syntax Help! I don't understand this!
- Method:colshape:getSize(...)
Syntax
float|false, float, float getColShapeSize ( colshape shape )Required Arguments
- shape: The colshape you wish to get the size of.
Returns
- float|false: x
- float: y
- float: z
Returns up to 3 floats depending on the colshape type (see below), false if invalid arguments were passed.
- cuboid: width, depth, height
- rectangle: width, depth
- tube: height
Code Examples
Script Example Missing
Function getColShapeSize 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