com.jme3.cinematic
インタフェース MotionPathListener


public interface MotionPathListener

Trigger the events appening on an motion path


メソッドの概要
 void onWayPointReach(MotionTrack motionControl, int wayPointIndex)
          Triggers every time the target reach a waypoint on the path
 

メソッドの詳細

onWayPointReach

void onWayPointReach(MotionTrack motionControl,
                     int wayPointIndex)
Triggers every time the target reach a waypoint on the path

パラメータ:
motionControl - the MotionTrack objects that reached the waypoint
wayPointIndex - the index of the way point reached