Back to Tools and Commands

Node Scale

The nodeScale command handles object scale inside the scene. To activate this command, call:

api.commands.activateCommand('nodeScale')

options

The default options are:

options: {
  onChange: undefined,
  onEnd: undefined,
},

displayGizmo

Control whether or not to display the widget around the selected node. The widget can be used to scale the object along the x, y and z-axis.

onChange

Custom function that will be called every single frame when an object is scaling.

onEnd

Custom function that will be called at the end of the object scale.