Dynamic textures

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (Removed 'Template:' prefix from template includings and/or changed external-link into internal-link)
m
Line 17: Line 17:
 
*[[osDrawFilledPolygon]] (None)
 
*[[osDrawFilledPolygon]] (None)
 
*[[osMovePen]] (None)
 
*[[osMovePen]] (None)
*[[osSetPenColour]] (None)
+
*[[osSetPenColor]] (None)
 
*[[osSetPenSize]] (None)
 
*[[osSetPenSize]] (None)
 
*[[osSetPenCap]] (None)
 
*[[osSetPenCap]] (None)

Revision as of 23:04, 24 June 2011

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


Text Drawing Functions


Dynamic Texture Creation Functions

Graphics Primitive Drawing Commands


Text Drawing Commands

Personal tools
General
About This Wiki