You are here: Start » AVL.NET » Invoke.ResizeVector3D

Invoke.ResizeVector3D

Lengthens or shortens a 3D vector preserving its direction.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ResizeVector3D
(
	Avl.Vector3D inVector3D,
	float inNewLength,
	out Avl.Vector3D outVector3D
)

Parameters

Name Type Range Default Description
inVector3DAvl.Vector3D
inNewLengthfloat<0.0f, INF>1.0fDefault value: 1.0f.
outVector3DAvl.Vector3D

See also