411 REFERENCE · Wikibooks
Celestia/Celx Scripting/CELX Lua Methods/CEL command settextureresolution
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
settextureresolution
settextureresolution { resolution <string> }
Set the texture resolution.
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 celestia:settextureresolution() method.
Set the resolution to <string>.
If <string> is "low", <number> is 0
If <string> is "medium", <number> is 1
If <string> is "high", <number> is 2
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