Search
Vector.Multiply Method (Vector, Single)
See Also
 





Multiplies a vector by a scalar value.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static Vector Multiply (
    Vector vector,
    float scalar
)

Visual Basic  Copy Code

Public Shared Function Multiply( _
    vector As Vector, _
    scalar As Single _
) As Vector

 Parameters

vector

A Vector instance.

scalar

A float value.

 Return Value

A Vector with same direction and multiplied length.

 See Also