com.jme3.input.controls
クラス MouseAxisTrigger
java.lang.Object
com.jme3.input.controls.MouseAxisTrigger
- すべての実装されたインタフェース:
- Trigger
public class MouseAxisTrigger
- extends java.lang.Object
- implements Trigger
A MouseAxisTrigger
is used as a mapping to mouse axis,
a mouse axis is movement along the X axis (left/right), Y axis (up/down)
and the mouse wheel (scroll up/down).
コンストラクタの概要 |
MouseAxisTrigger(int mouseAxis,
boolean negative)
Create a new MouseAxisTrigger . |
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MouseAxisTrigger
public MouseAxisTrigger(int mouseAxis,
boolean negative)
- Create a new
MouseAxisTrigger
.
- パラメータ:
mouseAxis
- Mouse axis. See AXIS_*** constants in MouseInput
negative
- True if listen to negative axis events, false if
listen to positive axis events.
getMouseAxis
public int getMouseAxis()
isNegative
public boolean isNegative()
getName
public java.lang.String getName()
- 定義:
- インタフェース
Trigger
内の getName
- 戻り値:
- A user friendly name for the trigger.
mouseAxisHash
public static int mouseAxisHash(int mouseAxis,
boolean negative)
triggerHashCode
public int triggerHashCode()
- インタフェース
Trigger
の記述:
- Returns the hash code for the trigger.
- 定義:
- インタフェース
Trigger
内の triggerHashCode
- 戻り値:
- the hash code for the trigger.