Constants | ||
---|---|---|
float | VERTICAL_RANGE_MAX | The max range of vertical position. |
float | VERTICAL_RANGE_MIN | The min range of vertical position |
Public Constructors | |
---|---|
CylindricalRenderObject(int objectId, Bitmap bitmap, int order, int objectType, float h, float v)
Creates a new instance of this class. |
Public Methods | |
---|---|
void |
setPosition(PointF point)
Sets the position. |
PointF |
getPosition()
Retrieves the position. |
void | toRegisterExtras(Intent intent) |
void | toMoveExtras(Intent intent) |
java.lang.String | toString() |
Inherited Methods | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class RenderObject
|
The max range of vertical position.
Constant Value: 60.0 (0x0000003c)
The min range of vertical position
Constant Value: -60.0 (0xffffffffffffffc4)
Creates a new instance of this class.
objectId | A unique ID for the render object, a positive integer. Give the object a unique ID that will allow you to identify it in the results of asynchronous operations. |
---|---|
bitmap | The bitmap image to be displayed with AR rendering. |
order | The occlusion order for this object, a positive integer. Zero renders the object in the foreground. |
objectType | Whether this object is static or animated. One of: |
h | The initial horizontal position in the cylindrical coordinate system. An absolute compass value in degrees, where 0.0 is north, 180.0 is south, and so on. |
v | The initial vertical position. An angle in radians, where positive values are up and negative values are down. |
Sets the position. After changing the position associated with an object, execute the change by calling moveARObject(RenderObject).
point | The new position in the cylindrical coordinate system. |
---|
Retrieves the position.
The object position in the cylindrical coordinate system.
Defines an object to be rendered by the AR engine using the cylindrical coordinate system. Positions in this system are placed on an imaginary cylinder surrounding the user, and may or may not be currently visible in the glass display.