UTF-8に単純変換
This commit is contained in:
@@ -5,56 +5,56 @@
|
||||
<!-- generated by to_html.pl from f_Layer.xml -->
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=Shift_JIS" />
|
||||
<title>onHitTest - �����蔻��</title>
|
||||
<title>onHitTest - 当たり判定</title>
|
||||
<meta name="author" content="W.Dee" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<link href="funcref.css" type="text/css" rel="stylesheet" title="�N���X���t�@�����X�p�W���X�^�C��" />
|
||||
<link href="funcref.css" type="text/css" rel="stylesheet" title="クラスリファレンス用標準スタイル" />
|
||||
<link href="mailto:[email protected]" rev="Made" />
|
||||
<link href="index.html" target="_top" rel="Start" title="�g�b�v�y�[�W" />
|
||||
<link href="f_Layer.html" title="Layer�N���X" rel="Parent" />
|
||||
<link href="index.html" target="_top" rel="Start" title="トップページ" />
|
||||
<link href="f_Layer.html" title="Layerクラス" rel="Parent" />
|
||||
</head>
|
||||
<body>
|
||||
<h1><span class="fheader"><a name="top" id="top">Layer.onHitTest</a></span></h1><div class="para"><div>
|
||||
<dl>
|
||||
<dt>�@�\/�Ӗ�</dt>
|
||||
<dt>機能/意味</dt>
|
||||
<dd>
|
||||
�����蔻��</dd>
|
||||
<dt>�^�C�v</dt>
|
||||
当たり判定</dd>
|
||||
<dt>タイプ</dt>
|
||||
<dd>
|
||||
<a class="jump" href="f_Layer.html">Layer�N���X</a>�̃C�x���g<br />
|
||||
<a class="jump" href="f_Layer.html">Layerクラス</a>のイベント<br />
|
||||
</dd>
|
||||
<dt>�\��</dt>
|
||||
<dt>構文</dt>
|
||||
<dd>
|
||||
<span class="funcdecl">onHitTest(<span class="arg">x</span>, <span class="arg">y</span>, <span class="arg">hit</span>)</span><br />
|
||||
</dd>
|
||||
<dt>����</dt>
|
||||
<dt>引数</dt>
|
||||
<dd>
|
||||
<table rules="all" frame="box" cellpadding="3" summary="onHitTest �̈���">
|
||||
<table rules="all" frame="box" cellpadding="3" summary="onHitTest の引数">
|
||||
<tr><td valign="top"><span class="argname">x</span></td>
|
||||
<td> �@�����蔻�����s���ʒu�� ( ���C���̕\�����W���ł� ) x ���W�ł��B<br />
|
||||
<td> 当たり判定を行う位置の ( レイヤの表示座標内での ) x 座標です。<br />
|
||||
</td></tr>
|
||||
<tr><td valign="top"><span class="argname">y</span></td>
|
||||
<td> �@�����蔻�����s���ʒu�� ( ���C���̕\�����W���ł� ) y ���W�ł��B<br />
|
||||
<td> 当たり判定を行う位置の ( レイヤの表示座標内での ) y 座標です。<br />
|
||||
</td></tr>
|
||||
<tr><td valign="top"><span class="argname">hit</span></td>
|
||||
<td> �@�����蔻���̌��ʁA�������Ă����ꍇ�͐^, �͂����Ă����ꍇ�͋U�ɂȂ��܂��B
|
||||
�����蔻���̌��ʂ́A�����̃X�[�p�[�N���X�̃C�x���g�̂��̈����ɓn���Ă��������B<br />
|
||||
<td> 当たり判定の結果、当たっている場合は真, はずれている場合は偽になります。
|
||||
当たり判定の結果は、同名のスーパークラスのイベントのこの引数に渡してください。<br />
|
||||
</td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
<dt>����</dt>
|
||||
<dt>説明</dt>
|
||||
<dd>
|
||||
�@���C�����̂����_�ɑ��āA�����蔻�� ( �q�b�g�e�X�g ) ���s�������ꍇ�ɌĂяo�����܂��B<br />
|
||||
�@�����蔻���̌��ʂ́A�X�[�p�[�N���X�̂��̃C�x���g�̑��R�����ɓ����蔻���̌��ʂ�
|
||||
�n���������� ( ���P������
|
||||
���Q�����͂��̂܂ܓn���Ă������� )�B<br />
|
||||
�@�����蔻���̌��ʁA�������Ă����}�E�X���b�Z�[�W�͕s���߂ɂȂ��A���̃��C���ŏ��������܂��B<br />
|
||||
�@�������Ă��Ȃ����Γ��߂ƂȂ��A�}�E�X���b�Z�[�W�͂��艜�ɂ��郌�C���ŏ��������܂��B<br />
|
||||
�@���̃C�x���g�́A<a class="jump" href="f_Layer_hitThreshold.html">Layer.hitThreshold</a> �� <a class="jump" href="f_Layer_hitType.html">Layer.hitType</a> �ōs������
|
||||
�����蔻���Łu�������Ă����v�Ƃ������肪���ꂽ���ɌĂяo�����܂��B����������
|
||||
Layer.hitThreshold �� Layer.hitType �Łu�������ĂȂ��v�Ɣ��肳���Ă����ꍇ��
|
||||
���̃C�x���g�͌Ăяo�����܂����B<br />
|
||||
レイヤ内のある点に対して、当たり判定 ( ヒットテスト ) が行われる場合に呼び出されます。<br />
|
||||
当たり判定の結果は、スーパークラスのこのイベントの第3引数に当たり判定の結果を
|
||||
渡してください ( 第1引数と
|
||||
第2引数はそのまま渡してください )。<br />
|
||||
当たり判定の結果、当たっていればマウスメッセージは不透過になり、そのレイヤで処理されます。<br />
|
||||
当たっていなければ透過となり、マウスメッセージはより奥にあるレイヤで処理されます。<br />
|
||||
このイベントは、<a class="jump" href="f_Layer_hitThreshold.html">Layer.hitThreshold</a> や <a class="jump" href="f_Layer_hitType.html">Layer.hitType</a> で行われる
|
||||
当たり判定で「当たっている」という判定がされた後に呼び出されます。したがって
|
||||
Layer.hitThreshold や Layer.hitType で「当たってない」と判定されている場合は
|
||||
このイベントは呼び出されません。<br />
|
||||
</dd>
|
||||
</dl>
|
||||
</div></div>
|
||||
|
||||
Reference in New Issue
Block a user