C# Class Vector2D, UnityUtils

Afficher le fichier Open project: mortennobel/UnityUtils Class Usage Examples

Méthodes publiques

Свойство Type Description
x double
y double

Méthodes publiques

Méthode Description
Copy ( ) : Vector2D,
Distance ( Vector2D, v1, Vector2D, v2 ) : double
Dot ( Vector2D, v1, Vector2D, v2 ) : double
Equals ( Vector2D, p ) : bool
Equals ( object obj ) : bool
GetHashCode ( ) : int
ToString ( ) : string
ToVector2 ( ) : Vector2,
Vector2D ( Vector2, vector ) : System.Collections
Vector2D ( double x, double y ) : System.Collections
operator ( ) : Vector2D,
operator ( ) : bool
this ( int i ) : double

Method Details

Copy() public méthode

public Copy ( ) : Vector2D,
Résultat Vector2D,

Distance() public static méthode

public static Distance ( Vector2D, v1, Vector2D, v2 ) : double
v1 Vector2D,
v2 Vector2D,
Résultat double

Dot() public static méthode

public static Dot ( Vector2D, v1, Vector2D, v2 ) : double
v1 Vector2D,
v2 Vector2D,
Résultat double

Equals() public méthode

public Equals ( Vector2D, p ) : bool
p Vector2D,
Résultat bool

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string

ToVector2() public méthode

public ToVector2 ( ) : Vector2,
Résultat Vector2,

Vector2D() public méthode

public Vector2D ( Vector2, vector ) : System.Collections
vector Vector2,
Résultat System.Collections

Vector2D() public méthode

public Vector2D ( double x, double y ) : System.Collections
x double
y double
Résultat System.Collections

operator() public static méthode

public static operator ( ) : Vector2D,
Résultat Vector2D,

operator() public static méthode

public static operator ( ) : bool
Résultat bool

this() public méthode

public this ( int i ) : double
i int
Résultat double

Property Details

x public_oe property

public double x
Résultat double

y public_oe property

public double y
Résultat double