Difference between revisions of "PRIM TEXT"
Jump to navigation
Jump to search
Sierra Janus (talk | contribs) m (Made more specific) |
m |
||
Line 15: | Line 15: | ||
{{#vardefine:caveats|{{#var:caveats}} | {{#vardefine:caveats|{{#var:caveats}} | ||
* Do not rely on {{#var:text_const}} as a secure storage medium. Floating text has been altered in past server updates, and even "invisible" floating text can be read by anybody.}} | * Do not rely on {{#var:text_const}} as a secure storage medium. Floating text has been altered in past server updates, and even "invisible" floating text can be read by anybody who has a client modified to do so.}} | ||
}}</onlyinclude>{{#if: | }}</onlyinclude>{{#if: |
Revision as of 14:13, 24 March 2010
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_TEXT = 26;The integer constant PRIM_TEXT has the value 26
Important: This function is not yet released and will be available with Server 1.38. |
Used to get or set the object's floating text.
llSetPrimitiveParams
llSetPrimitiveParams([ PRIM_TEXT, string text, vector color, float alpha ]• string | text | – | floating text to display | |
• vector | color | – | color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white) | |
• float | alpha | – | from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) |
Syntax for: llSetPrimitiveParams, llSetLinkPrimitiveParams & llSetLinkPrimitiveParamsFast
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_TEXT ]);Returns the list [ string text, vector color, float alpha ]
• string | text | – | floating text displayed | |
• vector | color | – | color in RGB <R, G, B> (<0.0, 0.0, 0.0> = black, <1.0, 1.0, 1.0> = white) | |
• float | alpha | – | from 0.0 (clear) to 1.0 (solid) (0.0 <= alpha <= 1.0) |
Syntax for: llGetPrimitiveParams, llGetLinkPrimitiveParams
Caveats
- Do not rely on PRIM_TEXT as a secure storage medium. Floating text has been altered in past server updates, and even "invisible" floating text can be read by anybody who has a client modified to do so.
Related Articles
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llSetLinkPrimitiveParamsFast | |||
• | llGetPrimitiveParams | |||
• | llGetLinkPrimitiveParams | |||
• | llSetText |
Articles
• | Color in LSL | |||
• | Translucent Color |