public static enum SoMaterialElement.Masks extends java.lang.Enum<SoMaterialElement.Masks> implements IntegerValuedEnum
Enum Constant and Description |
---|
ALL_MASK
All masks.
|
AMBIENT_MASK
Ambient mask.
|
COLOR_MATERIAL_MASK
Color mask.
|
DIFFUSE_MASK
Diffuse mask.
|
EMISSIVE_MASK
Emissive mask.
|
SHININESS_MASK
Shininess mask.
|
SPECULAR_MASK
Specular mask.
|
TRANSPARENCY_MASK
Transparency mask.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoMaterialElement.Masks |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoMaterialElement.Masks |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoMaterialElement.Masks[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoMaterialElement.Masks COLOR_MATERIAL_MASK
public static final SoMaterialElement.Masks DIFFUSE_MASK
public static final SoMaterialElement.Masks AMBIENT_MASK
public static final SoMaterialElement.Masks EMISSIVE_MASK
public static final SoMaterialElement.Masks SPECULAR_MASK
public static final SoMaterialElement.Masks SHININESS_MASK
public static final SoMaterialElement.Masks TRANSPARENCY_MASK
public static final SoMaterialElement.Masks ALL_MASK
public static SoMaterialElement.Masks[] values()
for (SoMaterialElement.Masks c : SoMaterialElement.Masks.values()) System.out.println(c);
public static SoMaterialElement.Masks 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 SoMaterialElement.Masks 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