PRIM SLICE

From Second Life Wiki
Revision as of 11:15, 20 April 2012 by Strife Onizuka (talk | contribs) (Created page with "<onlyinclude>{{#if: {{#vardefine:slice_const|{{LSL Const|PRIM_SLICE|integer||c=Used to {{GetSet|{{{1|}}}|get|set|/}} the prim's slice (a shape attribute)}}}} }}</onlyinclude>{{…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Constant: integer PRIM_NAME = ?;

The integer constant PRIM_NAME has the value ?

Used to get or set the prim's name.

llSetPrimitiveParams

llSetPrimitiveParams([ PRIM_SLICE, vector slice ]);
• vector slice x and y range from 0.0 to 1.0, x must be at least 0.05 smaller than y (z is ignored)

The same syntax applies to llSetLinkPrimitiveParams and llSetLinkPrimitiveParamsFast but with an additional prefixed link parameter in the function call.

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_SLICE ]);

Returns the list [ vector slice ]

• vector slice x and y range from 0.0 to 1.0, x must be at least 0.05 smaller than y (z is ignored)

The same syntax applies to llGetLinkPrimitiveParams, but with an additional prefixed link parameter in the function call.

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_NAME = ?;