public static enum SoLightModel.Models extends java.lang.Enum<SoLightModel.Models> implements IntegerValuedEnum
Enum Constant and Description |
---|
BASE_COLOR
Use only the base (diffuse) object color.
|
PER_PIXEL_PHONG
Use Pixel-based Phong lighting model (default).
|
PER_VERTEX_PHONG
Use Vertex-based Phong lighting model.
|
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 SoLightModel.Models |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoLightModel.Models |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoLightModel.Models[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoLightModel.Models BASE_COLOR
public static final SoLightModel.Models PHONG
public static final SoLightModel.Models PER_VERTEX_PHONG
public static final SoLightModel.Models PER_PIXEL_PHONG
public static SoLightModel.Models[] values()
for (SoLightModel.Models c : SoLightModel.Models.values()) System.out.println(c);
public static SoLightModel.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 SoLightModel.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