ScaleNode()

Syntax

ScaleNode(#Node, x, y, z [, Mode])
Description
Scales the node according to the specified x,y,z values. When using #PB_Relative mode, this is a factor based scale which means the node size will be multiplied with the given value to obtain the new size.

Parameters

#Node The node to use.
x, y, z The scale values.
Mode (optional) The scale mode. It can be one of the following value:
  #PB_Relative: relative scale, based on the previous size (default). Using 1.0 for scale value will let this value unchanged.
  #PB_Absolute: absolute scale, in world unit.

Return value

None.

Supported OS

All

<- RotateNode() - Node Index