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 | |
---|---|---|---|---|---|
![]() | inVector3D | AvlNet.Vector3D | |||
![]() | inNewLength | float | <0.0f, INF> | 1.0f | Default value: 1.0f. |
![]() | outVector3D | AvlNet.Vector3D |