Interface l3d.L3DObserver
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface l3d.L3DObserver

public interface L3DObserver
extends Object
Live3D Interface utility
GENERAL NOTES:
Unless otherwise noted: Methods return 1 (true) or 0 (false)
THE FOLLOWING CODES APPLY TO EACH METHOD LISTED:
GOOD = Method has been implemented and tested
AVAIL = Method has been implemented but not tested
NYA = Method has not been implemented.

Method Index

 o onAnchorClick(L3DObject, String)
Notifies a mouse click event within Live3D Space GOOD.
 o onCameraMove(float[])
Notifies a camera move event within Live3D Space GOOD.
 o onEnter(L3DScene)
onEnter notifies the applet what plugin instance is associated with this class NYA.
 o onExit()
onExit notifies of the plugin going away NYA.
 o onKeyDown()
Notifies a key down event in Live3D Space NYA.
 o onKeyUp()
Notifies a key up event in Live3D Space NYA.
 o onMouseClick(L3DObject)
Notifies a mouse click event within Live3D Space GOOD.
 o onMouseMove(L3DObject)
Notifies a mouse move event within Live3D Space AVAIL.
 o onObjectAdded(L3DObject)
Notifies that the object finished loading GOOD.
 o onPopupMenu()
Notifies a pop up menu event in Live3D Space NYA.
 o onSceneLoaded(L3DObject)
Notifies that the scene finished loading NYA.
 o onSelectionChange(L3DObject)
Notifies when a selection change occurs on an object NYA.
 o onStatusChange()
Notifies a status change event in Live3D Space NYA.

Methods

 o onMouseMove
  public abstract int onMouseMove(L3DObject objectOver)
Notifies a mouse move event within Live3D Space AVAIL.
Parameters:
objectOver - Null L3DObject to hold return value
Returns:
L3DObject objectOver the object over which the moving mouse pointer sits
 o onMouseClick
  public abstract int onMouseClick(L3DObject objectClicked)
Notifies a mouse click event within Live3D Space GOOD.
Parameters:
objectClicked - Null L3DObject to hold return value
Returns:
L3DObject objectClicked the object upon which the mouse pointer clicked
 o onCameraMove
  public abstract int onCameraMove(float matrix[])
Notifies a camera move event within Live3D Space GOOD.
Parameters:
matrix - Null 16-part float array to hold return value
Returns:
16-part matrix array with new viewpoint matrix
 o onAnchorClick
  public abstract int onAnchorClick(L3DObject objectClicked,
                                    String strAnchor)
Notifies a mouse click event within Live3D Space GOOD.
Parameters:
objectClicked - Null L3DObject to hold return value
strAnchor - Null String to hold return value
Returns:
L3DObject objectClicked the object upon which the mouse pointer clicked
 o onObjectAdded
  public abstract int onObjectAdded(L3DObject object)
Notifies that the object finished loading GOOD.
Parameters:
object - Null L3DObject to hold return value
Returns:
L3DObject object the object that has finished loading
 o onSceneLoaded
  public abstract int onSceneLoaded(L3DObject object)
Notifies that the scene finished loading NYA.
Parameters:
object - Null L3DObject to hold return value
Returns:
L3DObject object the object that is root of loaded scene
 o onStatusChange
  public abstract int onStatusChange()
Notifies a status change event in Live3D Space NYA.
Returns:
Integer value of new status
 o onKeyDown
  public abstract int onKeyDown()
Notifies a key down event in Live3D Space NYA.
Returns:
Integer value of key pressed
 o onKeyUp
  public abstract int onKeyUp()
Notifies a key up event in Live3D Space NYA.
Returns:
Integer value of key released
 o onPopupMenu
  public abstract int onPopupMenu()
Notifies a pop up menu event in Live3D Space NYA.
 o onSelectionChange
  public abstract int onSelectionChange(L3DObject object)
Notifies when a selection change occurs on an object NYA.
Parameters:
object - Null L3DObject to hold return value
 o onEnter
  public abstract int onEnter(L3DScene plugin)
onEnter notifies the applet what plugin instance is associated with this class NYA.
Parameters:
plugin - Plugin class instance of the embedded wrl file associated with this class
 o onExit
  public abstract int onExit()
onExit notifies of the plugin going away NYA.

All Packages  Class Hierarchy  This Package  Previous  Next  Index