Arcade
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
GameAPI.Axis2 Class Reference

Represents two orthogonal analogue axes. More...

Inheritance diagram for GameAPI.Axis2:
GameAPI.Control

Properties

Axis X [get]
 Retrieves the horizontal component Axis. More...
 
Axis Y [get]
 Retrieves the vertical component Axis. More...
 
Vector2F Value [get]
 Gets a Vector2f containing the combined values of both component axes. More...
 
bool IsZero [get]
 True if both component axes are in the default position. More...
 
bool JustBecameZero [get]
 True if both component axes are now in the default position when at least one was not in the previous update. More...
 
bool JustBecameNonzero [get]
 True if a component axis is now not in the default position when both were in the previous update. More...
 

Detailed Description

Represents two orthogonal analogue axes.

Property Documentation

bool GameAPI.Axis2.IsZero
get

True if both component axes are in the default position.

bool GameAPI.Axis2.JustBecameNonzero
get

True if a component axis is now not in the default position when both were in the previous update.

bool GameAPI.Axis2.JustBecameZero
get

True if both component axes are now in the default position when at least one was not in the previous update.

Vector2F GameAPI.Axis2.Value
get

Gets a Vector2f containing the combined values of both component axes.

Axis GameAPI.Axis2.X
get

Retrieves the horizontal component Axis.

Axis GameAPI.Axis2.Y
get

Retrieves the vertical component Axis.