C# Class UnityEngine.Vector2

Afficher le fichier Open project: jbruening/UnEngine Class Usage Examples

Méthodes publiques

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

Méthodes publiques

Méthode Description
Dot ( Vector2 a, Vector2 b ) : float
Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
MoveTowards ( Vector2 current, Vector2 target, float maxDistanceDelta ) : Vector2
Vector2 ( float x, float y ) : System
operator ( ) : Vector2

Private Methods

Méthode Description
Vector2 ( ) : System

Method Details

Dot() public static méthode

public static Dot ( Vector2 a, Vector2 b ) : float
a Vector2
b Vector2
Résultat float

Lerp() public static méthode

public static Lerp ( Vector2 from, Vector2 to, float t ) : Vector2
from Vector2
to Vector2
t float
Résultat Vector2

MoveTowards() public static méthode

public static MoveTowards ( Vector2 current, Vector2 target, float maxDistanceDelta ) : Vector2
current Vector2
target Vector2
maxDistanceDelta float
Résultat Vector2

Vector2() public méthode

public Vector2 ( float x, float y ) : System
x float
y float
Résultat System

operator() public static méthode

public static operator ( ) : Vector2
Résultat Vector2

Property Details

x public_oe property

public float x
Résultat float

y public_oe property

public float y
Résultat float