scale

fun scale(s: Float): Node3D

Scales up or down by a factor in 'local' coordinates.

Parameters

s

the scale factor


fun scale(sx: Float, sy: Float, sz: Float): Node3D

Scales up or down by a factor in 'local' coordinates.

Parameters

sx

the x-scale factor

sy

the y-scale factor

sz

the z-scale factor


The scale of the Node3D relative to the parent transform's scales. If the Node3D has no parent or if the parent node is NOT a Node3D, then it is the same a globalScaling. If you want to set the x,y properties of this Vec3f then use the scaleX, scaleY, scaleZ properties of this Node3D.