User:Toy Wylie/RLV Documentation/getdebug renderresolutiondivisor
Jump to navigation
Jump to search
@getdebug renderresolutiondivisor
Type
General
Implemented
Implemented since RLV version 1.16
Usage
@getdebug_renderresolutiondivisor=<channel>
Purpose
This commands the user's viewer to answer with the value stored in the "RenderResolutionDivisor" debug setting. This value controls the resolution - ur blurriness - of the user's screen. A value of 1 means, the screen blur is switched off, any higher number increases the blurriness. To set this value the RLV command @setdebug_renderresolutiondivisor can be used. RLV devices can read this value and restore it later after changing it for their own purposes.
See Also
Example
<lsl>integer channel=12345;
default {
state_entry() { llOwnerSay("Touch me to verify your screen's blurriness."); llListen(channel,"",llGetOwner(),""); }
touch_start(integer total_number) { if(llGetOwner()==llDetectedKey(0)) llOwnerSay("@getdebug_renderresolutiondivisor="+(string) channel); } listen(integer channel, string name, key id, string message) { llOwnerSay("Your screen blurriness is currently: "+message); }
}
</lsl>