Package com.jme3.util
Enum Class SkyFactory.EnvMapType
- All Implemented Interfaces:
Serializable
,Comparable<SkyFactory.EnvMapType>
,Constable
- Enclosing class:
- SkyFactory
The type of map fed to the shader
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe env map is a cube map seeTextureCubeMap
or 6 separate images that form a cube map The texture is either aTextureCubeMap
or 6Texture2D
.The env map is an Equirectangular map.The env map is a Sphere map. -
Method Summary
Modifier and TypeMethodDescriptionstatic SkyFactory.EnvMapType
Returns the enum constant of this class with the specified name.static SkyFactory.EnvMapType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CubeMap
The env map is a cube map seeTextureCubeMap
or 6 separate images that form a cube map The texture is either aTextureCubeMap
or 6Texture2D
. In the latter case, a TextureCubeMap is build from the 6 2d maps. -
SphereMap
The env map is a Sphere map. The texture is a Texture2D with the pixels arranged for sphere mapping. -
EquirectMap
The env map is an Equirectangular map. A 2D textures with pixels arranged for equirectangular projection mapping..
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-