User:Strife Onizuka/Sandbox/Switch/Const/Test: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Strife Onizuka (talk | contribs)
mNo edit summary
Line 12: Line 12:
|desc=PRIM_TYPE_CYLINDER is a parameter of [[PRIM_TYPE]] used to make prim into a cylinder and to change specific proprieties that define the shape of that cylinder.
|desc=PRIM_TYPE_CYLINDER is a parameter of [[PRIM_TYPE]] used to make prim into a cylinder and to change specific proprieties that define the shape of that cylinder.
|p_front=[ [[PRIM_TYPE]],
|p_front=[ [[PRIM_TYPE]],
|p_mid=,  
|p_mid=, 
|p_end= ]
|p_end= ]
|p_text=
|p_text=

Revision as of 18:18, 17 May 2007

integer PRIM_TYPE_CYLINDER = 1;

The integer constant PRIM_TYPE_CYLINDER has the value 1

PRIM_TYPE_CYLINDER is a parameter of PRIM_TYPE used to make prim into a cylinder and to change specific proprieties that define the shape of that cylinder.

Functions and Events

Constants

•  PRIM_TYPE
•  CHANGED_SHAPE

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Examples

llSetPrimitiveParams([PRIM_TYPE, 
                        PRIM_TYPE_CYLINDER, 
                            PRIM_HOLE_DEFAULT,  // hole_shape
                            <0.00, 1.0, 0.0>,   // cut
                            0.0,                // hollow
                            <0.0, 0.0, 0.0>,    // twist
                            <1.0, 1.0, 0.0>,    // top_size
                            <0.0, 0.0, 0.0>     // top_Shear
                      ]);