ResizeVector3D


Lengthens or shortens a 3D vector preserving its direction.

Syntax

C++
C#
Python
 
def ResizeVector3D(
	inVector3D: Vector3D,
	inNewLength: float,
	/
)
-> outVector3D: Vector3D

Parameters

Name Type Range Default Description
Input value inVector3D Vector3D
Input value inNewLength float 0.0 -
Output value outVector3D Vector3D