RescaleVector3D


Lengthens or shortens a 3D vector relatively preserving its direction.

Syntax

C++
C#
Python
 
def RescaleVector3D(
	inVector3D: Vector3D,
	/,
	*,
	inScale: float = 1.0,
	inInverse: bool = False
)
-> outVector3D: Vector3D

Parameters

Name Type Default Description
Input value inVector3D Vector3D
Input value inScale float 1.0 Scaling factor
Input value inInverse bool False Switches to the inverse operation
Output value outVector3D Vector3D