Version: 
Back to list

Scene :: createCube

Synopsis

   Create a new cube

GUI Dialog

   

Script function

   scene.createCube(sizeX, sizeY, sizeZ[, subdivision[, generateUV]]) -> occurrence

Parameters

   sizeX (Double) : Size of the Cube on the x axis
   sizeY (Double) : Size of the Cube on the y axis
   sizeZ (Double) : Size of the Cube on the z axis
   subdivision (Int[optional] : Subdivision of the Cube on all the axis
   generateUV (Boolean[optional] : Generation of the UV

Return value

   occurrence (Occurrence) : The created Occurrence