A skybox.
public LuaColor GetPixel(int face, int x, int y)
Get the pixel value at this position.
Arguments
(int) Cubemap face to sample from. [face]
(int) The x position. [x]
(int) The y position. [y]
Returns: (Color) The color of this pixel
public void SetPixel(int face, int x, int y, LuaColor color)
Set the pixel at a given position.
Arguments
(int) Cubemap face to write to. [face]
(int) The x position. [x]
(int) The y position. [y]
(Color) The new color of this pixel. [color]
public LuaVector3 GetDimensions()
Get the dimensions of this cubemap.
Returns: (Vector2) The dimensions encoded as a [width, height] Vector2.