HERE iOS SDK Developer's Guide

NMAPhongMaterial

Class Summary

class NMAPhongMaterial

Derived from: NMAMaterial

A simple colored material for 3D map objects that can be used in conjunction with a model texture to change the color of the texture.

Include: NMAKit.framework/headers/NMAPhongMaterial.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAPhongMaterial

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, strong] UIColor *  ambientColor

[readable, writable, strong] UIColor *  diffuseColor

The diffuse color of the material

Class Method Summary

Table 2. Class Methods
Class Methods

+( NMAPhongMaterial *) materialWithDiffuseColor:(UIColor *) diffuseColor ambientColor:(UIColor *) ambientColor

Creates an NMAPhongMaterial with the specified diffuse and ambient colors

Class Details

A simple colored material for 3D map objects that can be used in conjunction with a model texture to change the color of the texture.

Public Property Details

[readable, writable, strong] UIColor * ambientColor

The ambient color of the material

Note:

The default value (in RGBA) is 0x000000FF.

[readable, writable, strong] UIColor * diffuseColor

The diffuse color of the material.

Note:

The default value (in RGBA) is 0xFFFFFFFF.

Class Method Details

+( NMAPhongMaterial *) materialWithDiffuseColor:(UIColor *) diffuseColor ambientColor:(UIColor *) ambientColor

Creates an NMAPhongMaterial with the specified diffuse and ambient colors.

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.