Editare

Partajați prin


Vector3.Divide Method

Definition

Performs a division operation on a vector.

Overloads

Divide(Vector3, Vector3)

Divides the first vector by the second.

Divide(Vector3, Single)

Divides the specified vector by a specified scalar value.

Divide(Vector3, Vector3)

Source:
Vector3.cs
Source:
Vector3.cs
Source:
Vector3.cs

Divides the first vector by the second.

public:
 static System::Numerics::Vector3 Divide(System::Numerics::Vector3 left, System::Numerics::Vector3 right);
public static System.Numerics.Vector3 Divide (System.Numerics.Vector3 left, System.Numerics.Vector3 right);
static member Divide : System.Numerics.Vector3 * System.Numerics.Vector3 -> System.Numerics.Vector3
Public Shared Function Divide (left As Vector3, right As Vector3) As Vector3

Parameters

left
Vector3

The first vector.

right
Vector3

The second vector.

Returns

The vector resulting from the division.

Applies to

Divide(Vector3, Single)

Source:
Vector3.cs
Source:
Vector3.cs
Source:
Vector3.cs

Divides the specified vector by a specified scalar value.

public:
 static System::Numerics::Vector3 Divide(System::Numerics::Vector3 left, float divisor);
public static System.Numerics.Vector3 Divide (System.Numerics.Vector3 left, float divisor);
static member Divide : System.Numerics.Vector3 * single -> System.Numerics.Vector3
Public Shared Function Divide (left As Vector3, divisor As Single) As Vector3

Parameters

left
Vector3

The vector.

divisor
Single

The scalar value.

Returns

The vector that results from the division.

Applies to