Vector3.Divide Method (Vector3, Single, Vector3)
Divides a vector by a scalar value.
Syntax
'Declaration
Public Shared Sub Divide ( _
ref value1 As Vector3, _
value2 As Single, _
out result As Vector3 _
)
public static void Divide (
ref Vector3 value1,
float value2,
out Vector3 result
)
public:
static void Divide(
ref Vector3 value1,
float value2,
out Vector3 result
)
Parameters
- value1
Type: Vector3
Source vector. - value2
Type: Single
The divisor. - result
Type: Vector3
[OutAttribute] The result of the division.
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