HERE Android SDK Developer's Guide

DirectionalLight

The class DirectionalLight is a member of com.here.android.mpa.mapping.MapModelObject.

Class Summary

public static final class MapModelObject.DirectionalLight

   implements com.here.android.mpa.mapping.MapModelObject.Light

extends java.lang.Object

This class specifies a directional light.

[For complete information, see the section Class Details]

Constructor Summary

Table 1. Constructors in DirectionalLight
Constructors

DirectionalLight ()

Default Constructor

DirectionalLight (Vector3f direction)

Construct a DirectionalLight

Method Summary

Table 2. Methods in DirectionalLight
Methods

public Vector3f getSource ()

Get the directional light direction.

public void setSource (Vector3f direction)

Set the directional light source.

Class Details

This class specifies a directional light.

Constructor Details

DirectionalLight ()

Default Constructor

DirectionalLight (Vector3f direction)

Construct a DirectionalLight

Parameters:

  • direction

Method Details

public Vector3f getSource ()

Get the directional light direction.

Returns:

Vector3d vector containing the light direction.

public void setSource (Vector3f direction)

Set the directional light source. This will only take effect before the light is added.

Parameters:

  • 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.