HERE Android SDK Developer's Guide

ShadingMode

The enumeration ShadingMode is a member of com.here.android.mpa.ar.ARModelObject.

Enumeration Summary

public static final enumeration ARModelObject.ShadingMode

extends java.lang.Enum, java.lang.Object

Represents object's shading mode

[For complete information, see the section Enumeration Details]

Enum Constant Summary

Table 1. Enum Constants in ShadingMode
Fields

public static final ShadingMode FLAT_TEXTURED

Textured no lighting

public static final ShadingMode DIFFUSE_TEXTURED

Textured with diffuse lighting

Method Summary

Table 2. Methods in ShadingMode
Methods

public static ShadingMode valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

public static ARModelObject.ShadingMode[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.

Enumeration Details

Represents object's shading mode

Enum Constant Details

public static final ShadingMode FLAT_TEXTURED

Textured no lighting

public static final ShadingMode DIFFUSE_TEXTURED

Textured with diffuse lighting

Method Details

public static ShadingMode valueOf (String name)

This method retrieves the enumeration value that matches the name specified by the caller.

Parameters:

  • name

    A string containing the name of the enumeration member whose value is to be retrieved.

public static ARModelObject.ShadingMode[] values ()

This method retrieves an array of constants of the given enum type in the order in which they are declared.