Vector2.Multiply Method (Vector2, Single)
Multiplies a vector by a scalar value.
Syntax
'Declaration
Public Shared Function Multiply ( _
value1 As Vector2, _
scaleFactor As Single _
) As Vector2
public static Vector2 Multiply (
Vector2 value1,
float scaleFactor
)
public:
static Vector2 Multiply(
Vector2 value1,
float scaleFactor
)
Parameters
Return Value
Type: Vector2
Result of the multiplication.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone