HERE Android SDK Developer's Guide

ARBillboardObject

The class ARBillboardObject is a member of com.here.android.mpa.ar .

Class Summary

public class ARBillboardObject

extends com.here.android.mpa.ar.ARModelObject, java.lang.Object

Represents a 3D AR billboard objects that users can add to a ARController.

[For complete information, see the section Class Details]

Nested Class Summary

Table 1. Nested Classes in ARBillboardObject
Nested Classes

public static final enumeration ARBillboardObject.Orientation

Represents billboard's orientation mode

Constructor Summary

Table 2. Constructors in ARBillboardObject
Constructors

ARBillboardObject (Vector3f position)

Construct AR billboard object

ARBillboardObject (GeoCoordinate position)

Construct AR billboard object

ARBillboardObject (Vector3f position, Image texture)

Construct AR billboard object

ARBillboardObject (GeoCoordinate position, Image texture)

Creates a geo positioned ARBillboardObject

Method Summary

Table 3. Methods in ARBillboardObject
Methods

public GeoCoordinate getGeoPosition ()

Get the position of the billboard

public Vector3f getLocalPosition ()

Get the position of the billboard

public Orientation getOrientation ()

Get the orientation mode of the billboard

public PointF getSize ()

Get the size of the billboard in meters

public Vector3f getSurfaceNormal ()

Get the surface normal

public Vector3f getUpDirection ()

Get the up direction

public void setGeoPosition (GeoCoordinate position)

Set the position of the billboard

public void setLocalPosition (Vector3f position)

Set the position of the billboard

public void setOrientation (Orientation orientation)

Set the orientation mode of the billboard

public void setSize (PointF size)

Set the size of the billboard in meters

public void setSurfaceNormal (Vector3f surfaceNormal)

Set the surface normal

public void setUpDirection (Vector3f upDirection)

Set the up direction

Class Details

Represents a 3D AR billboard objects that users can add to a ARController. There are two types of AR billboard objects supported: - Geo positioned billboard - Locally positioned billboard

Constructor Details

ARBillboardObject (Vector3f position)

Construct AR billboard object

Parameters:

  • position

    Position of the center of the billboard relative to the camera. Unit is meters

ARBillboardObject (GeoCoordinate position)

Construct AR billboard object

Parameters:

  • position

    Geo position of the center of the billboard

ARBillboardObject (Vector3f position, Image texture)

Construct AR billboard object

Parameters:

  • position

    Position of the center of the billboard relative to the camera. Unit is meters

  • texture

    Billboard's texture

ARBillboardObject (GeoCoordinate position, Image texture)

Creates a geo positioned ARBillboardObject

Parameters:

  • position

    Position on earth of the center of the billboard

  • texture

    Billboard's texture

Method Details

public GeoCoordinate getGeoPosition ()

Get the position of the billboard

Returns:

Position on earth of the center of the billboard

public Vector3f getLocalPosition ()

Get the position of the billboard

Returns:

Position of the center of the billboard relative to the camera. Unit is meters

public Orientation getOrientation ()

Get the orientation mode of the billboard

public PointF getSize ()

Get the size of the billboard in meters

public Vector3f getSurfaceNormal ()

Get the surface normal

public Vector3f getUpDirection ()

Get the up direction

public void setGeoPosition (GeoCoordinate position)

Set the position of the billboard

Parameters:

  • position

    Position on earth of the center of the billboard

public void setLocalPosition (Vector3f position)

Set the position of the billboard

Parameters:

  • position

    Position of the center of the billboard relative to the camera. Unit is meters

public void setOrientation (Orientation orientation)

Set the orientation mode of the billboard

Parameters:

  • orientation

    Orientation mode

public void setSize (PointF size)

Set the size of the billboard in meters

Parameters:

  • size

    Size in meters (width, height)

public void setSurfaceNormal (Vector3f surfaceNormal)

Set the surface normal

Parameters:

  • surfaceNormal

    Surface normal

public void setUpDirection (Vector3f upDirection)

Set the up direction

Parameters:

  • upDirection

    Up direction

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.