You are here: Start » AVL.NET » AVS.ResizeVector3D Method

AVS.ResizeVector3D Method

Lengthens or shortens a 3D vector preserving its direction.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ResizeVector3D
(
	AvlNet.Vector3D inVector3D,
	float inNewLength,
	out AvlNet.Vector3D outVector3D
)

Parameters

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

See also