- s(xSize, ySize, zSize)
- xSize—floatSize of the new scope for x-dimension.
- ySize—floatSize of the new scope for y-dimension.
- zSize—floatSize of the new scope for z-dimension.
The s operation sets the size vector scope.s. The relative operator ' permits a convenient notation relative to the current shape's scope size:
s('sx,0,0) is equivalent to s(sx*scope.sx, 0, 0)
Negative sizes result in mirroring along the corresponding axes; this means the normals are inverted.
The initial shape with its scope highlighted.
Here, all scope sizes are set to the absolute value 5.
This example demonstrates the usage of the relative operator '. The s operation is equivalent to: s(0.5*scope.sx,scope.sy,1.5*scope.sz).