You are here: Start » AVL.NET » AVL.ResizeVector3D
Lengthens or shortens a 3D vector preserving its direction.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeVector3D ( AvlNet.Vector3D inVector3D, float inNewLength, out AvlNet.Vector3D outVector3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inVector3D | AvlNet.Vector3D | ||||
inNewLength | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | |
outVector3D | AvlNet.Vector3D |