Microsoft DirectX 9.0 SDK Update (October 2004)

Vector2.Multiply Method

Language:

Note: This documentation is preliminary and is subject to change.

Multiplies the current 2-D vector with a single value.

Definition

Visual Basic .NET Public Shared Function Multiply( _
    ByVal source As Vector2, _
    ByVal s As Single _
) As Vector2
C# public static Vector2 Multiply(
    Vector2 source,
    float s
);
Managed C++ public: static Vector2 Multiply(
    Vector2 source,
    float s
);
JScript .NET public static function Multiply(
    source : Vector2,
    s : float
) : Vector2;

Parameters

source Microsoft.DirectX.Vector2. Source Vector2 structure.
s System.Single. Source Single Leave Site value.

Return Value

Microsoft.DirectX.Vector2 . A Vector2 that is the result of the source parameter multiplied by the s parameter.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center