Свойство | Type | Description | |
---|---|---|---|
DisplayCanvas | Canvas |
Méthode | Description | |
---|---|---|
Action ( ) : void | ||
Camera ( Canvas displayCanvas, |
||
PointToWorldPosition ( Point point ) : Vector2 | ||
RefreshScreen ( ) : void | ||
WorldPositionToPoint ( Vector2 vector ) : Point |
Méthode | Description | |
---|---|---|
IsVectorInScreen ( Vector2 pos ) : bool | ||
RemoveUnregisteredGameObjectsFromCanvas ( IGameObject gameObject ) : void |
public Camera ( Canvas displayCanvas, |
||
displayCanvas | Canvas | |
gameManager | ||
Résultat | System.Windows.Controls |
public PointToWorldPosition ( Point point ) : Vector2 | ||
point | Point | |
Résultat | Vector2 |
public WorldPositionToPoint ( Vector2 vector ) : Point | ||
vector | Vector2 | |
Résultat | Point |