Fork me
BeyondAR
Augmented Reality Framework for Android
 All Classes Functions Variables
com.beyondar.android.plugin.BeyondarObjectPlugin Interface Reference

Basic interface to create a plugin for a BeyondarObject. More...

Inheritance diagram for com.beyondar.android.plugin.BeyondarObjectPlugin:
Collaboration diagram for com.beyondar.android.plugin.BeyondarObjectPlugin:

Public Member Functions

void onAngleChanged (Point3 angle)
 Called when the angle of the BeyondarObject is changed. More...
 
void onPositionChanged (Point3 position)
 Called when the position of the BeyondarObject has changed. More...
 
void onTextureChanged (Texture texture)
 Called when the Texture1 of the BeyondarObject has been changed. More...
 
void onRenderableChanged (Renderable renderable)
 Called when the Renderable of the BeyondarObject has been changed. More...
 
void onFaceToCameraChanged (boolean faceToCamera)
 Called when the BeyondarObject changes the value for facing the camera. More...
 
void onVisibilityChanged (boolean visible)
 Called when the visibility of the BeyondarObject has been changed. More...
 
void onNameChanged (String name)
 Called when the name of the BeyondarObject has been changed. More...
 
void onImageUriChanged (String uri)
 Called when the image uri of the BeyondarObject has been changed. More...
 
void onDetached ()
 This method is invoked when the plugin is removed.
 
boolean isAttached ()
 Check if the plugin is attached. More...
 
BeyondarObject getbeyondarObject ()
 Get the BeyondarObject where the plugin is attached. More...
 

Detailed Description

Basic interface to create a plugin for a BeyondarObject.

Member Function Documentation

BeyondarObject com.beyondar.android.plugin.BeyondarObjectPlugin.getbeyondarObject ( )

Get the BeyondarObject where the plugin is attached.

Returns
boolean com.beyondar.android.plugin.BeyondarObjectPlugin.isAttached ( )

Check if the plugin is attached.

Returns
void com.beyondar.android.plugin.BeyondarObjectPlugin.onAngleChanged ( Point3  angle)

Called when the angle of the BeyondarObject is changed.

Parameters
angleNew angle.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onFaceToCameraChanged ( boolean  faceToCamera)

Called when the BeyondarObject changes the value for facing the camera.

Parameters
faceToCameraTrue if it is facing to the camera, false otherwise.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onImageUriChanged ( String  uri)

Called when the image uri of the BeyondarObject has been changed.

Parameters
uriNew image uri.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onNameChanged ( String  name)

Called when the name of the BeyondarObject has been changed.

Parameters
nameNew name.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onPositionChanged ( Point3  position)

Called when the position of the BeyondarObject has changed.

Parameters
positionNew position.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onRenderableChanged ( Renderable  renderable)

Called when the Renderable of the BeyondarObject has been changed.

Parameters
renderableNew Renderable.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onTextureChanged ( Texture  texture)

Called when the Texture1 of the BeyondarObject has been changed.

Parameters
textureNew texture.
void com.beyondar.android.plugin.BeyondarObjectPlugin.onVisibilityChanged ( boolean  visible)

Called when the visibility of the BeyondarObject has been changed.

Parameters
visibleTrue if it is visible, false otherwise.

The documentation for this interface was generated from the following file: