Package com.aspose.threed
Enum TextureMapping
- java.lang.Object
-
- java.lang.Enum<TextureMapping>
-
- com.aspose.threed.TextureMapping
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TextureMapping>
public enum TextureMapping extends java.lang.Enum<TextureMapping>
The texture mapping type forVertexElementUV
Describes which kind of texture mapping is used.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AMBIENT
Ambient mapsBUMP
Bump mapsDIFFUSE
Diffuse mapsDISPLACEMENT
Displacement mapsEMISSIVE
Emissive mapsGLOW
Glow mapsNORMAL
Normal mapsOPACITY
Opacity mapsREFLECTION
Reflection mapsSHADOW
Shadow mapsSHININESS
Shininess mapsSPECULAR
Specular maps
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TextureMapping
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TextureMapping[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AMBIENT
public static final TextureMapping AMBIENT
Ambient maps
-
EMISSIVE
public static final TextureMapping EMISSIVE
Emissive maps
-
DIFFUSE
public static final TextureMapping DIFFUSE
Diffuse maps
-
OPACITY
public static final TextureMapping OPACITY
Opacity maps
-
BUMP
public static final TextureMapping BUMP
Bump maps
-
NORMAL
public static final TextureMapping NORMAL
Normal maps
-
SPECULAR
public static final TextureMapping SPECULAR
Specular maps
-
GLOW
public static final TextureMapping GLOW
Glow maps
-
REFLECTION
public static final TextureMapping REFLECTION
Reflection maps
-
SHADOW
public static final TextureMapping SHADOW
Shadow maps
-
SHININESS
public static final TextureMapping SHININESS
Shininess maps
-
DISPLACEMENT
public static final TextureMapping DISPLACEMENT
Displacement maps
-
-
Method Detail
-
values
public static TextureMapping[] 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 (TextureMapping c : TextureMapping.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TextureMapping 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
-
-