Udostępnij za pośrednictwem


Vector2 Struct

Definition

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public struct Vector2
type Vector2 = struct
Inheritance
System.ValueType
Vector2
Attributes
System.ComponentModel.EditorBrowsableAttribute

Constructors

Vector2(Double, Double)
Vector2(Double)
Vector2(Point)

Properties

Length
LengthSquared
Normalized
X
Y

Methods

AngleBetween(Vector2, Vector2)
ToString()

Operators

Addition(Point, Vector2)
Addition(Vector2, Point)
Addition(Vector2, Vector2)
Division(Vector2, Double)
Explicit(Vector2 to Point)
Multiply(Double, Vector2)
Multiply(Vector2, Double)
Subtraction(Point, Vector2)
Subtraction(Vector2, Vector2)
UnaryNegation(Vector2)

Applies to