public interface PFHotspot
Modifier and Type | Method and Description |
---|---|
void |
animate()
Animate the hotspot.
|
int |
getTag()
Retrieve the tag for the hotspot.
|
void |
setClickListener(PFHotspotClickListener listener)
Set the listener to trigger when the hotspot is touched.;
|
void |
setCoordinates(float rotY,
float rotX,
float rotZ)
Set the polar coordinates of the hotspot in degrees.
|
void |
setEnabled(boolean enable)
Enable/disable rendering of the hotspot
|
void |
setSize(float radius)
Set the current size of the hotspot.
|
void |
setTag(int tag)
Tag the hotspot with a int.
|
void setEnabled(boolean enable)
enable
- Set to true to enable rendering of the hotspotvoid setSize(float radius)
radius
- Size as a radius.void setCoordinates(float rotY, float rotX, float rotZ)
rotY
- rotation around the y-axis, moving the hotspot left or right on the screen (0 to 360 degrees).rotX
- rotation around the x-axis, moving the hotspot up or down on the screen (-90 to 90 degrees).rotZ
- rotation around the z-axis, not supported at the moment.void setTag(int tag)
tag
- The tag for the hotspot.int getTag()
void setClickListener(PFHotspotClickListener listener)
listener
- A callback implementing the PFHotspot.ClickListener interface.void animate()