Package com.openinventor.inventor.nodes
Enum SoShaderStateMatrixParameter.MatrixTypes
- java.lang.Object
-
- java.lang.Enum<SoShaderStateMatrixParameter.MatrixTypes>
-
- com.openinventor.inventor.nodes.SoShaderStateMatrixParameter.MatrixTypes
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoShaderStateMatrixParameter.MatrixTypes>
- Enclosing class:
- SoShaderStateMatrixParameter
public static enum SoShaderStateMatrixParameter.MatrixTypes extends java.lang.Enum<SoShaderStateMatrixParameter.MatrixTypes> implements IntegerValuedEnum
Matrix type possible values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MODELVIEW
The state matrix is the modelview matrix.MODELVIEW_PROJECTION
The state matrix is the modelview projection matrix (default value).PROJECTION
The state matrix is the the projection matrix.TEXTURE
The state matrix is the current texture matrix.
-
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 SoShaderStateMatrixParameter.MatrixTypes
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoShaderStateMatrixParameter.MatrixTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoShaderStateMatrixParameter.MatrixTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MODELVIEW
public static final SoShaderStateMatrixParameter.MatrixTypes MODELVIEW
The state matrix is the modelview matrix.
-
PROJECTION
public static final SoShaderStateMatrixParameter.MatrixTypes PROJECTION
The state matrix is the the projection matrix.
-
TEXTURE
public static final SoShaderStateMatrixParameter.MatrixTypes TEXTURE
The state matrix is the current texture matrix.
-
MODELVIEW_PROJECTION
public static final SoShaderStateMatrixParameter.MatrixTypes MODELVIEW_PROJECTION
The state matrix is the modelview projection matrix (default value).
-
-
Method Detail
-
values
public static SoShaderStateMatrixParameter.MatrixTypes[] 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 (SoShaderStateMatrixParameter.MatrixTypes c : SoShaderStateMatrixParameter.MatrixTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoShaderStateMatrixParameter.MatrixTypes 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 SoShaderStateMatrixParameter.MatrixTypes 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.
-
-