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 instancetype) initWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) 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 instancetype) initWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction.

Parameters:

  • direction

    The light source direction.

Class Method Details

+(nonnull instancetype) lightWithDirection:( NMAVector3d ) direction

Creates a directional light with the specified direction.

Parameters:

  • direction

    The light source direction.