Platform Compatibility
PC | Mac OSX | Oculus Quest |
---|---|---|
X | X | X |
A Skybox is a 6-sided cube that gives the player a view past the ends of the level, it generally is intended to be a seamless view of the horizon
Parameters:
- front
- A string pointing to the local or web file
- back
- A string pointing to the local or web file
- left
- A string pointing to the local or web file
- right
- A string pointing to the local or web file
- up
- A string pointing to the local or web file
- down
- A string pointing to the local or web file
Example:
1 | obj.createSky("myLevel/front.png","myLevel/back.png","myLevel/left.png","myLevel/right.png","myLevel/up.png","myLevel/down.png") |