Dynamic textures
From OpenSimulator
Line 40: | Line 40: | ||
| valign="top" width="50%"|'''Graphics Primitive Drawing Commands''' | | valign="top" width="50%"|'''Graphics Primitive Drawing Commands''' | ||
*[[Drawing commands#Ellipse|Ellipse]] | *[[Drawing commands#Ellipse|Ellipse]] | ||
+ | *[[Drawing commands#Rectangle|Rectangle]] | ||
*[[Drawing commands#FillRectangle|FillRectangle]] | *[[Drawing commands#FillRectangle|FillRectangle]] | ||
+ | *[[Drawing commands#Polygon|Polygon]] | ||
+ | *[[Drawing commands#FillPolygon|FillPolygon]] | ||
*[[Drawing commands#Image|Image]] | *[[Drawing commands#Image|Image]] | ||
*[[Drawing commands#LineTo|LineTo]] | *[[Drawing commands#LineTo|LineTo]] | ||
Line 46: | Line 49: | ||
*[[Drawing commands#PenColour|PenColour]] | *[[Drawing commands#PenColour|PenColour]] | ||
*[[Drawing commands#PenSize|PenSize]] | *[[Drawing commands#PenSize|PenSize]] | ||
− | + | ||
Revision as of 13:09, 28 August 2009
Languages: |
English Deutsch |
Technical Reference -> Terms -> Status Page -> OSSL Implemented Functions -> Dynamic textures
Dynamic textures allow scripts to create images on the fly, combining graphics loaded from the World Wide Web with text, lines, ellipses and filled or unfilled rectangles. The textures thus created are temporary, maintained by the individual region in which they are created, and are not permanently stored in the Asset Server.
In general, one creates a string containing a list of Drawing commands and parameters, either directly or with the aid of one of the "convenience" drawing functions listed below, then passes this string as a parameter to one of the osSetDynamicTexture* commands.
In the list below, the threat level of each function is indicated in parentheses after the function name. There is no threat level associated with the drawing commands.
Graphics Primitive Drawing Functions
|
Graphics Primitive Drawing Commands
Text Drawing Commands |