Difference between revisions of "PRIM TEXT"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with '<onlyinclude>{{#if: {{#vardefine:physics_const|{{LSL Const|PRIM_PHYSICS|integer|26|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the object's floating text}}}} }}</onlyinclude>{{#if:...')
 
Line 1: Line 1:
<onlyinclude>{{#if:
<onlyinclude>{{#if:


{{#vardefine:physics_const|{{LSL Const|PRIM_PHYSICS|integer|26|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the object's floating text}}}}
{{#vardefine:text_const|{{LSL Const|PRIM_TEXT|integer|26|c=Used to {{GetSet|{{{1|}}}|get|set|/}} the object's floating text}}}}


}}</onlyinclude>{{#if:
}}</onlyinclude>{{#if:
Line 11: Line 11:
|type=integer
|type=integer
|value=26
|value=26
|desc=Used to get or set the object's [[llSetText|floating text]].
|desc={{KBcaution|This function is not yet released and will be available with Server 1.38.}}
|pa={{LSL Constant/List|i_front=[&#32;{{#var:physics_const}},&#32;|i_end=&nbsp;]
Used to get or set the object's [[llSetText|floating text]].
|pa={{LSL Constant/List|i_front=[&#32;{{#var:text_const}},&#32;|i_end=&nbsp;]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|text=When used with [[llSetPrimitiveParams]] & [[llSetLinkPrimitiveParams]]
|i1_type=string|i1_name=text
|i1_type=string|i1_name=text
|i1_type=vector|i1_name=color
|i2_type=vector|i2_name=color
|i1_type=float|i1_name=alpha
|i3_type=float|i3_name=alpha
|toc=llSetPrimitiveParams
|toc=llSetPrimitiveParams
}}
}}
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:physics_const}}|i_end=&nbsp;]);|
|pb={{LSL Constant/List|i_front=[[llGetPrimitiveParams]]([&nbsp;{{#var:text_const}}|i_end=&nbsp;]);|
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|r_front=Returns the list [&nbsp;|r_end=&nbsp;]
|text
|text
|r1_type=string|r1_name=text
|r1_type=string|r1_name=text
|r1_type=vector|r1_name=color
|r2_type=vector|r2_name=color
|r1_type=float|r1_name=alpha
|r3_type=float|r3_name=alpha
|toc=llGetPrimitiveParams
|toc=llGetPrimitiveParams
}}
}}

Revision as of 13:02, 1 March 2010

Description

Constant: integer PRIM_TEXT = 26;

The integer constant PRIM_TEXT has the value 26

KBcaution.png 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

[ PRIM_TEXT, string text, vector color, float alpha ]
• string text
• vector color
• float alpha

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_TEXT ]);

Returns the list [ string text, vector color, float alpha ]

• string text
• vector color
• float alpha

Related Articles

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_TEXT = 26;