CubemapFace

Description

[SemanticEnum]
enum Tinman.Terrain.Mapping.CubemapFace

The six faces of a cubemap.

   +-------+       Y-  Z+
  /.      /|        | /
 / .     / |        |/
+-------+  |   X- --+-- X+   right-handed CS
|  .....|..+       /|
| .     | /       / |
|.      |/       Z-  Y+
+-------+
See also

Cubemap

Public / Constants

None

public constant None → (-1:int32)

No cubemap face.

   +-------+       Y-  Z+
  /.      /|        | /
 / .     / |        |/
+-------+  |   X- --+-- X+   right-handed CS
|  .....|..+       /|
| .     | /       / |
|.      |/       Z-  Y+
+-------+

PosX

public constant PosX → (0:int32)

The X+ cubemap face.

   +-------#       Y-  Z+
  /.      ##        | /
 / .     # #        |/
+-------#  #   X- --+-- X+   right-handed CS
|  .....#..#       /|
| .     # #       / |
|.      ##       Z-  Y+
+-------#

NegX

public constant NegX → (1:int32)

The X- cubemap face.

   #-------+       Y-  Z+
  ##      /|        | /
 # #     / |        |/
#-------+  |   X- --+-- X+   right-handed CS
#  #....|  +       /|
# #     | /       / |
##      |/       Z-  Y+
#-------+

PosY

public constant PosY → (2:int32)

The Y+ cubemap face.

   +-------+       Y-  Z+
  /.      /|        | /
 / .     / |        |/
+-------+  |   X- --+-- X+   right-handed CS
|  #####|###       /|
| #     | #       / |
|#      |#       Z-  Y+
#########

NegY

public constant NegY → (3:int32)

The Y- cubemap face.

   #########       Y-  Z+
  #       #|        | /
 #       # |        |/
#########  |   X- --+-- X+   right-handed CS
|  .....|..+       /|
| .     | /       / |
|.      |/       Z-  Y+
+-------+

PosZ

public constant PosZ → (4:int32)

The Z+ cubemap face.

   #########       Y-  Z+
  /#      /#        | /
 / #     / #        |/
+-------+  #   X- --+-- X+   right-handed CS
|  #####|###       /|
| .     | /       / |
|.      |/       Z-  Y+
+-------+

NegZ

public constant NegZ → (5:int32)

The Z- cubemap face.

   +-------+       Y-  Z+
  /.      /|        | /
 / .     / |        |/
#########  |   X- --+-- X+   right-handed CS
#       #..+       /|
#       # /       / |
#       #/       Z-  Y+
#########

All

public constant All → (6:int32)

All cubemap faces.

   #########       Y-  Z+
  ##      ##        | /
 # #     # #        |/
#########  #   X- --+-- X+   right-handed CS
#  #########       /|
# #     # #       / |
##      ##       Z-  Y+
#########