HERE iOS SDK Developer's Guide

NMADirectionalLight

Class Summary

class NMADirectionalLight

Derived from: NMALight

Represents a simple directional light source for use with 3D models.

Include: NMAKit.framework/headers/NMADirectionalLight.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMADirectionalLight

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, assign] NMAVector3d   direction

The direction of the light

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull) initWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull) lightWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction

Class Details

Represents a simple directional light source for use with 3D models.

Public Property Details

[readable, writable, assign] NMAVector3d  direction

The direction of the light.

Instance Method Details

-(nonnull) initWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction.

Parameters:

  • direction

    The light source direction.

Class Method Details

+(nonnull) lightWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction.

Parameters:

  • direction

    The light source 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.