Package com.openinventor.inventor.nodes
Enum SoShadowGroup.VisibilityFlags
- java.lang.Object
-
- java.lang.Enum<SoShadowGroup.VisibilityFlags>
-
- com.openinventor.inventor.nodes.SoShadowGroup.VisibilityFlags
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoShadowGroup.VisibilityFlags>
- Enclosing class:
- SoShadowGroup
public static enum SoShadowGroup.VisibilityFlags extends java.lang.Enum<SoShadowGroup.VisibilityFlags> implements IntegerValuedEnum
visibilityRadius
interpretation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABSOLUTE_RADIUS
visibilityRadius
is interpreted as an absolute value.LONGEST_BBOX_EDGE_FACTOR
The longest edge of the scene bounding box will be multiplied by the value ofvisibilityRadius
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoShadowGroup.VisibilityFlags
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoShadowGroup.VisibilityFlags
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoShadowGroup.VisibilityFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABSOLUTE_RADIUS
public static final SoShadowGroup.VisibilityFlags ABSOLUTE_RADIUS
visibilityRadius
is interpreted as an absolute value.
-
LONGEST_BBOX_EDGE_FACTOR
public static final SoShadowGroup.VisibilityFlags LONGEST_BBOX_EDGE_FACTOR
The longest edge of the scene bounding box will be multiplied by the value ofvisibilityRadius
. The resulting value will be the radius within which shadows are computed.
-
-
Method Detail
-
values
public static SoShadowGroup.VisibilityFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SoShadowGroup.VisibilityFlags c : SoShadowGroup.VisibilityFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoShadowGroup.VisibilityFlags valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
public static SoShadowGroup.VisibilityFlags valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-