跳到主要内容

Class Vector2Extension

Provides extension suport for Vector2.

Methods

SetX(Vector2 self, float x)

public static Vector2 SetX(Vector2 self, float x)

SetY(Vector2 self, float y)

public static Vector2 SetY(Vector2 self, float y)

NegateX(Vector2 self)

Negates the X coordinate of Vector2.

public static Vector2 NegateX(Vector2 self)

NegateY(Vector2 self)

Negates the Y coordinate of Vector2.

public static Vector2 NegateY(Vector2 self)

XDividedByY(Vector2 self)

public static float XDividedByY(Vector2 self)

YDividedByX(Vector2 self)

public static float YDividedByX(Vector2 self)