Vector3.Multiply Method (Vector3, Single, Vector3)
Multiplies a vector by a scalar value.
Syntax
'Declaration
Public Shared Sub Multiply ( _
ref value1 As Vector3, _
scaleFactor As Single, _
out result As Vector3 _
)
public static void Multiply (
ref Vector3 value1,
float scaleFactor,
out Vector3 result
)
public:
static void Multiply(
ref Vector3 value1,
float scaleFactor,
out Vector3 result
)
Parameters
- value1
Type: Vector3
Source vector. - scaleFactor
Type: Single
Scalar value. - result
Type: Vector3
[OutAttribute] The result of the multiplication.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Vector3 Structure
Vector3 Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone