Partilhar via


Vector4.Divide Method (Vector4, Single)

Divides a vector by a scalar value.

Syntax

'Declaration
Public Shared Function Divide ( _
         value1 As Vector4, _
         divider As Single _
) As Vector4 
public static Vector4 Divide (
         Vector4 value1,
         float divider
)
public:
static Vector4 Divide(
         Vector4 value1,
         float divider
)

Parameters

  • value1
    Type: Vector4
    Source vector.
  • divider
    Type: Single
    The divisor.

Return Value

Type: Vector4
The source vector divided by b.

Requirements

Namespace: Microsoft.Xna.Framework

Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

See Also

Reference

Vector4 Structure
Vector4 Members
Microsoft.Xna.Framework Namespace

Platforms

Windows Phone