Colshapes::newCuboid: Difference between revisions
No edit summary |
(Add missing dimension optional parameter) |
||
| Line 9: | Line 9: | ||
* '''depth:''' {{RageType|Number}} in float | * '''depth:''' {{RageType|Number}} in float | ||
* '''height:''' {{RageType|Number}} in float | * '''height:''' {{RageType|Number}} in float | ||
* '''dimension:''' {{RageType|Number}} (optional) | |||
==Syntax== | ==Syntax== | ||
<syntaxhighlight lang="javascript"> | <syntaxhighlight lang="javascript"> | ||
mp.colshapes.newCuboid(x, y, z, width, depth, height) | mp.colshapes.newCuboid(x, y, z, width, depth, height, dimension) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 23:32, 19 October 2020
Creates a cuboid ColShape in 3D space
Parameters
- x: Number in float
- y: Number in float
- z: Number in float
- width: Number in float
- depth: Number in float
- height: Number in float
- dimension: Number (optional)
Syntax
mp.colshapes.newCuboid(x, y, z, width, depth, height, dimension)
See Also
- Functions
- Properties
- Arrays
- Functions