public static enum SoAlphaPolicy.Policies extends java.lang.Enum<SoAlphaPolicy.Policies> implements IntegerValuedEnum
Enum Constant and Description |
---|
POLICY_AS_IS
Use the fragment's alpha value as is.
|
POLICY_DISCARD
All semi-transparent fragment (alpha < 1) are considered as fully transparent.
|
POLICY_OPAQUE
All semi-transparent fragment (alpha > 0) are considered as opaque.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoAlphaPolicy.Policies |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoAlphaPolicy.Policies |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoAlphaPolicy.Policies[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoAlphaPolicy.Policies POLICY_AS_IS
public static final SoAlphaPolicy.Policies POLICY_OPAQUE
public static final SoAlphaPolicy.Policies POLICY_DISCARD
public static SoAlphaPolicy.Policies[] values()
for (SoAlphaPolicy.Policies c : SoAlphaPolicy.Policies.values()) System.out.println(c);
public static SoAlphaPolicy.Policies 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 SoAlphaPolicy.Policies 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