The integer constant PRIM_SIZE has the value 7

Returns or sets the prim's size.

Syntax

integer PRIM_SIZE = 7;

Usage

[ PRIM_SIZE, vector size ]

vectorsizeranges from 0.01 to 64.0 for x, y and z

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams([ PRIM_SIZE ]);

Returns the list [ vector size ]

vectorsizeranges from 0.01 to 64.0 for x, y and z

Caveats

Examples

//Changing the prim size and rotation
default
{
  touch_start(integer total_number)
  {
    llSetPrimitiveParams([
        PRIM_SIZE, <0.25,0.5,1.0>,
        PRIM_ROTATION, <1.0, 0.0, 0.0, 0.0>
      ]);
  }
} 

See also

Functions