You are here: Start » AVL.NET » Invoke.RescaleVector3D
Lengthens or shortens a 3D vector relatively preserving its direction.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RescaleVector3D ( Avl.Vector3D inVector3D, float inScale, bool inInverse, out Avl.Vector3D outVector3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inVector3D | Avl.Vector3D | |||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outVector3D | Avl.Vector3D |