public static enum SoLightModelElement.Models extends java.lang.Enum<SoLightModelElement.Models> implements IntegerValuedEnum
Enum Constant and Description |
---|
BASE_COLOR
No lighting; just use base color.
|
PER_PIXEL_PHONG
Per-pixel Phong lighting.
|
PER_VERTEX_PHONG
Per-vertex Phong lighting.
|
PHONG
Deprecated.
As of Open Inventor 10000 PHONG is replaced by PER_VERTEX_PHONG to avoid ambiguities with PER_PIXEL_PHONG
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoLightModelElement.Models |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoLightModelElement.Models |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoLightModelElement.Models[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoLightModelElement.Models BASE_COLOR
public static final SoLightModelElement.Models PHONG
public static final SoLightModelElement.Models PER_VERTEX_PHONG
public static final SoLightModelElement.Models PER_PIXEL_PHONG
public static SoLightModelElement.Models[] values()
for (SoLightModelElement.Models c : SoLightModelElement.Models.values()) System.out.println(c);
public static SoLightModelElement.Models valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoLightModelElement.Models valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com