public static enum SoEnvironment.FogTypes extends java.lang.Enum<SoEnvironment.FogTypes> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
FOG
Exponential increase in opacity.
|
HAZE
Linear increase in opacity with distance.
|
NONE
No fog.
|
SMOKE
Exponential squared increase in opacity.
|
| Modifier and Type | Method and Description |
|---|---|
static SoEnvironment.FogTypes |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoEnvironment.FogTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoEnvironment.FogTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoEnvironment.FogTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoEnvironment.FogTypes NONE
public static final SoEnvironment.FogTypes HAZE
public static final SoEnvironment.FogTypes FOG
public static final SoEnvironment.FogTypes SMOKE
public static SoEnvironment.FogTypes[] values()
for (SoEnvironment.FogTypes c : SoEnvironment.FogTypes.values()) System.out.println(c);
public static SoEnvironment.FogTypes 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 SoEnvironment.FogTypes fromValue(int val)
valueOf(int) instead.public static SoEnvironment.FogTypes valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com