Celestia/Celx Scripting/CELX Lua Methods/CEL command settextureresolution

< Celestia < Celx Scripting < CELX Lua Methods

settextureresolution

settextureresolution { resolution <string> }

Set the texture resolution.


Arguments:

resolution <string>
String, that corresponds with one of the available texture resolutions. Must be:
  • "low" for low resolution (lores)
  • "medium" for medium resolution (medres)
  • "high" for high resolution (hires)


CELX equivalent:

Based on the 1.6.0 celestia:settextureresolution() method.

celestia:settextureresolution(<number>)


Example:
The non commented line determines the texture resolution.

CEL:

# settextureresolution { resolution "low" }
# settextureresolution { resolution "medium" }
settextureresolution { resolution "high" }

CELX:

-- celestia:settextureresolution(0)
-- celestia:settextureresolution(1)
celestia:settextureresolution(2)


Back to CEL command index

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.