You are here: Start » AVL.NET » 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 | |
|---|---|---|---|---|---|
![]()  | inVector3D | Avl.Vector3D | |||
![]()  | inNewLength | float | <0.0f, INF> | 1.0f | Default value: 1.0f. | 
![]()  | outVector3D | Avl.Vector3D | 


