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

AVS.RescaleVector3D Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RescaleVector3D
(
	AvlNet.Vector3D inVector3D,
	float inScale,
	bool inInverse,
	out AvlNet.Vector3D outVector3D
)

Parameters

Name Type Range Default Description
inVector3DAvlNet.Vector3D
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outVector3DAvlNet.Vector3D

See also