public static enum SoSlice.AlphaUses extends java.lang.Enum<SoSlice.AlphaUses> implements IntegerValuedEnum
alphaUse
field.Enum Constant and Description |
---|
ALPHA_AS_IS
Use alpha values as is.
|
ALPHA_BINARY
Use Alpha in binary mode (Default)
|
ALPHA_OPAQUE
Ignore alpha values (slice is opaque)
|
Modifier and Type | Method and Description |
---|---|
static SoSlice.AlphaUses |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoSlice.AlphaUses |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoSlice.AlphaUses |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoSlice.AlphaUses[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoSlice.AlphaUses ALPHA_AS_IS
public static final SoSlice.AlphaUses ALPHA_OPAQUE
public static final SoSlice.AlphaUses ALPHA_BINARY
public static SoSlice.AlphaUses[] values()
for (SoSlice.AlphaUses c : SoSlice.AlphaUses.values()) System.out.println(c);
public static SoSlice.AlphaUses 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 null@Deprecated public static SoSlice.AlphaUses fromValue(int val)
valueOf(int)
instead.public static SoSlice.AlphaUses valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com