Skip to content
lsl.devlsl.devLSL Dev

PRIM_SLICE

constant
Constant
integer PRIM_SLICE = 35;

Prim parameter [PRIM_SLICE, vector slice] to get or set the prim's slice values (a shape attribute equivalent to advanced cut).

Constant groups

PrimParam · PrimParamGet

Other PrimParam values (42)
Other PrimParamGet values (40)

Used to get or set the prim’s slice values (a shape attribute, equivalent to cut).

Example 1
//updated findings show the difference can be as small as 0.02 not 0.05 (Tomos.Halsey)
default
{
state_entry()
{
llSetLinkPrimitiveParams(LINK_THIS,[PRIM_SLICE,<0.0,0.02,0.0>]);
}
}
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.