Share via


Vector4.Multiply(Vector4,Single) Method (Microsoft.DirectX)

Multiplies a 4-D vector by a SingleLeave Site value.

Definition

Visual Basic Public Shared Function Multiply( _
    ByVal source As Vector4, _
    ByVal f As Single _
) As Vector4
C# public static Vector4 Multiply(
    Vector4 source,
    float f
);
C++ public:
static Vector4 Multiply(
    Vector4 source,
    float f
);
JScript public static function Multiply(
    source : Vector4,
    f : float
) : Vector4;

Parameters

source Microsoft.DirectX.Vector4
Source Vector4 structure.
f System.Single
Source SingleLeave Site value used as a multiplier.

Return Value

Microsoft.DirectX.Vector4
A Vector4 structure that is multiplied by the SingleLeave Site value.