次の方法で共有


Vector2.op_Multiply Method (Single, Vector2)

Multiplies a vector by a scalar value.

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

Syntax

public static Vector2 op_Multiply (
         float scaleFactor,
         Vector2 value
)

Parameters

  • scaleFactor
    Scalar value.
  • value
    Source vector.

Return Value

Result of the multiplication.

See Also

Reference

Vector2 Structure
Vector2 Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista