c0de paint 0.2.0Diese Seite auf Deutsch

CANVAS_SCALE ​

Scales the canvas around center along every axis by a percentage of 1 or more. Every voxel takes the nearest voxel of the original, so blocks keep their states.

Parameters and results

  • canvas TYPE c0de_paint/cpaint/CANVAS: the canvas (a variable)
  • x, y, z INTEGER: the percentages
  • center STRUCT c0de_paint/cpaint/POINT: the fixed point (optional, default 0,0,0)

Example

c0de
CALL c0de_paint/cpaint/CANVAS_SCALE
    PARAMETER canvas c ;
    PARAMETER x 200 ;
    PARAMETER y 200 ;
    PARAMETER z 200 ;

Used in the tutorials ​