hit detection for touch
More...
◆ EdgePosition
Enumerator |
---|
None | |
Left | |
Right | |
Top | |
Bottom | |
LeftTop | |
LeftBottom | |
RightTop | |
RightBottom | |
◆ TouchCollider() [1/2]
Yukar.Engine.TouchCollider.TouchCollider |
( |
| ) |
|
|
protected |
◆ TouchCollider() [2/2]
Yukar.Engine.TouchCollider.TouchCollider |
( |
int |
result | ) |
|
|
protected |
◆ CollideRectangele()
◆ CoverRectangle()
◆ Draw()
abstract void Yukar.Engine.TouchCollider.Draw |
( |
Microsoft.Xna.Framework.Color |
color | ) |
|
|
pure virtual |
◆ IsOutOfRange() [1/2]
◆ IsOutOfRange() [2/2]
◆ IsTouching()
◆ IsTouchingCenter()
abstract int Yukar.Engine.TouchCollider.IsTouchingCenter |
( |
SharpKmyMath.Vector2 |
touchPos, |
|
|
float |
centerLength |
|
) |
| |
|
pure virtual |
◆ IsTouchingEdge()
◆ Alpha
readonly int Yukar.Engine.TouchCollider.Alpha = 100 |
|
staticprotected |
◆ FloatAlpha
readonly float Yukar.Engine.TouchCollider.FloatAlpha = Alpha / 255.0f |
|
staticprotected |
◆ result
int Yukar.Engine.TouchCollider.result = -1 |
|
protected |
◆ RESULT_OUT_OF_RANGE
const int Yukar.Engine.TouchCollider.RESULT_OUT_OF_RANGE = -2 |
|
static |