PRIM_TYPE_SPHERE
constant
Constant
integer PRIM_TYPE_SPHERE = 3;Constant groups
Other PrimType values (7)
PRIM_TYPE_SPHERE is a parameter of PRIM_TYPE used to make prim into a sphere and to change specific properties that define the shape of that sphere.
Examples
Section titled “Examples”Example 1
// this makes a simple spherevector cut = <0.0, 1.0, 0.0>; // 0.0 to 1.0float hollow = 0.0; // 0.0 to 0.95vector twist = <0.0, 0.0, 0.0>; // -1.0 to 1.0vector dimple = <0.0, 1.0, 0.0>; // 0.0 to 1.0llSetPrimitiveParams( [PRIM_TYPE, PRIM_TYPE_SPHERE, PRIM_HOLE_DEFAULT, cut, hollow, twist, dimple ] );See also
Section titled “See also”Constants
Section titled “Constants”| Constant | Type | Value | Description |
|---|---|---|---|
PRIM_TYPE | |||
CHANGED_SHAPE |
Functions
Section titled “Functions”Events
Section titled “Events”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.