OsSetDynamicTextureDataFace: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Kcozens m Added permissions and delay information |
imported>Djphil No edit summary |
||
| Line 7: | Line 7: | ||
|ossl_example=<source lang="lsl"> | |ossl_example=<source lang="lsl"> | ||
// Example of osSetDynamicTextureDataFace | // Example of osSetDynamicTextureDataFace | ||
default | default | ||
{ | { | ||
state_entry() | 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); | |||
} | } | ||
} | } | ||
Revision as of 15:59, 24 February 2018
string osSetDynamicTextureDataFace(string dynamicID, string contentType, string data, string extraParams, int timer, int 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 |
| Extra 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);
}
}
| |