OsSetDynamicTextureDataFace

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Added note stating which version of OpenSim introduced this function)
Line 3: Line 3:
 
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|permissions=${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
 
|delay=0
 
|delay=0
|function_syntax=string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face);
+
|function_syntax=string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, integer timer, integer face);
 
|csharp_syntax=string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face);
 
|csharp_syntax=string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face);
 
|ossl_example=<source lang="lsl">
 
|ossl_example=<source lang="lsl">

Revision as of 13:23, 14 November 2018

string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, integer timer, integer face);
C#: string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int face);
...
Threat Level VeryLow
Permissions ${XEngine|osslParcelOG}ESTATE_MANAGER,ESTATE_OWNER
Delay 0 seconds
Example(s)
// Example of osSetDynamicTextureDataFace
 
default
{
    state_entry()
    {
        string CommandList;
        CommandList = osSetFontName(CommandList, "Courier New");
        CommandList = osSetFontSize(CommandList, 14);
        CommandList = osMovePen(CommandList, 20, 20); 
        CommandList = osDrawText(CommandList, "A dynamic texture!");
        osSetDynamicTextureDataFace("", "vector", CommandList, "width:512,height:512", 0, 0);
    }
}
Notes
This function was added in 0.9.0-post-fixes
Personal tools
General
About This Wiki