![]() |
|
Collider management class for touch reactions More...
Public Member Functions | |
TouchCollieders () | |
int | IsTouchingAny (SharpKmyMath.Vector2 touchPos) |
bool | AreOutOfRange (SharpKmyMath.Vector2 touchPos) |
void | Draw () |
void | AddCollider (TouchCollider coolider) |
void | Clear () |
Static Public Member Functions | |
static SharpKmyMath.Vector2 | GetSliderTouchPosition (SharpKmyMath.Vector2 sliderPos, SharpKmyMath.Vector2 sliderSize, SharpKmyMath.Vector2 touchPos) |
static int | GetSliderValueFromMouseHorizontalPosition (SharpKmyMath.Vector2 sliderPos, SharpKmyMath.Vector2 sliderSize, int stepCount, SharpKmyMath.Vector2 touchPos) |
static int | GetSliderValueFromMouseVerticalPosition (SharpKmyMath.Vector2 sliderPos, SharpKmyMath.Vector2 sliderSize, int stepCount, SharpKmyMath.Vector2 touchPos) |
static bool | IsMouseOnSlider (SharpKmyMath.Vector2 sliderPos, SharpKmyMath.Vector2 sliderSize, SharpKmyMath.Vector2 touchPos) |
Protected Attributes | |
List< TouchCollider > | colliders = new List<TouchCollider>() |
Collider management class for touch reactions
Yukar.Engine.TouchCollieders.TouchCollieders | ( | ) |
void Yukar.Engine.TouchCollieders.AddCollider | ( | TouchCollider | coolider | ) |
bool Yukar.Engine.TouchCollieders.AreOutOfRange | ( | SharpKmyMath.Vector2 | touchPos | ) |
void Yukar.Engine.TouchCollieders.Clear | ( | ) |
void Yukar.Engine.TouchCollieders.Draw | ( | ) |
|
static |
|
static |
|
static |
|
static |
int Yukar.Engine.TouchCollieders.IsTouchingAny | ( | SharpKmyMath.Vector2 | touchPos | ) |
|
protected |