Logo
公開メンバ関数 | 静的公開メンバ関数 | 限定公開変数類 | 全メンバ一覧
Yukar.Engine.TouchCollieders クラス

タッチ反応用のコライダ管理クラス [詳解]

Yukar.Engine.TouchCollieders の継承関係図
Yukar.Engine.SlicingTouchCollieder Yukar.Engine.TouchCollidersForColumn Yukar.Engine.TouchCollidersForRow

公開メンバ関数

 TouchCollieders ()
 
int IsTouchingAny (SharpKmyMath.Vector2 touchPos)
 
bool AreOutOfRange (SharpKmyMath.Vector2 touchPos)
 
void Draw ()
 
void AddCollider (TouchCollider coolider)
 
void Clear ()
 

静的公開メンバ関数

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)
 

限定公開変数類

List< TouchCollidercolliders = new List<TouchCollider>()
 

詳解

タッチ反応用のコライダ管理クラス

構築子と解体子

◆ TouchCollieders()

Yukar.Engine.TouchCollieders.TouchCollieders ( )

メソッド詳解

◆ AddCollider()

void Yukar.Engine.TouchCollieders.AddCollider ( TouchCollider  coolider)

◆ AreOutOfRange()

bool Yukar.Engine.TouchCollieders.AreOutOfRange ( SharpKmyMath.Vector2  touchPos)

◆ Clear()

void Yukar.Engine.TouchCollieders.Clear ( )

◆ Draw()

void Yukar.Engine.TouchCollieders.Draw ( )

◆ GetSliderTouchPosition()

static SharpKmyMath.Vector2 Yukar.Engine.TouchCollieders.GetSliderTouchPosition ( SharpKmyMath.Vector2  sliderPos,
SharpKmyMath.Vector2  sliderSize,
SharpKmyMath.Vector2  touchPos 
)
static

◆ GetSliderValueFromMouseHorizontalPosition()

static int Yukar.Engine.TouchCollieders.GetSliderValueFromMouseHorizontalPosition ( SharpKmyMath.Vector2  sliderPos,
SharpKmyMath.Vector2  sliderSize,
int  stepCount,
SharpKmyMath.Vector2  touchPos 
)
static

◆ GetSliderValueFromMouseVerticalPosition()

static int Yukar.Engine.TouchCollieders.GetSliderValueFromMouseVerticalPosition ( SharpKmyMath.Vector2  sliderPos,
SharpKmyMath.Vector2  sliderSize,
int  stepCount,
SharpKmyMath.Vector2  touchPos 
)
static

◆ IsMouseOnSlider()

static bool Yukar.Engine.TouchCollieders.IsMouseOnSlider ( SharpKmyMath.Vector2  sliderPos,
SharpKmyMath.Vector2  sliderSize,
SharpKmyMath.Vector2  touchPos 
)
static

◆ IsTouchingAny()

int Yukar.Engine.TouchCollieders.IsTouchingAny ( SharpKmyMath.Vector2  touchPos)

メンバ詳解

◆ colliders

List<TouchCollider> Yukar.Engine.TouchCollieders.colliders = new List<TouchCollider>()
protected