Colshapes::newCuboid: Difference between revisions
m (category) |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{SharedFunctionJS}} | {{SharedFunctionJS}} | ||
Creates a cuboid ColShape in 3D space | |||
==Parameters== | ==Parameters== | ||
* '''x: | * '''x:''' {{RageType|Number}} in float | ||
* '''y: | * '''y:''' {{RageType|Number}} in float | ||
* '''width: | * '''width:''' {{RageType|Number}} in float | ||
* '''depth: | * '''depth:''' {{RageType|Number}} in float | ||
* '''height: | * '''height:''' {{RageType|Number}} in float | ||
==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) | ||
| Line 18: | Line 18: | ||
[[Category:ColShape]] | [[Category:ColShape API]] | ||
[[Category:Shared Function]] | [[Category:Shared Function]] | ||
Revision as of 17:11, 17 May 2019
Creates a cuboid ColShape in 3D space
Parameters
- x: Number in float
- y: Number in float
- width: Number in float
- depth: Number in float
- height: Number in float
Syntax
mp.colshapes.newCuboid(x, y, z, width, depth, height)
See Also
- Functions
- Properties
- Arrays
- Functions