Category:LSL Integer/bit mask

From Second Life Wiki
< Category:LSL Integer
Revision as of 23:30, 22 December 2013 by Strife Onizuka (talk | contribs) (Created page with "{{LSL Subtype Category|bit_mask|bit_field|base=integer|cat=Permissions/Asset|more=*|values={{LSL Constants/Status|sortable=*}}|description=The big difference between a bit_mask a…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
bit_mask is a subtype of bit_field
bit_field is a subtype of integer.

The functions and constants in this category all take or return a bit_mask parameter. Events in this category expose a bit_mask parameter.


The big difference between a bit_mask and a bit_field is that a bit_mask is usually the bits you want to manipulate in the bit_field.

Values

bit_mask values are often made up of one or more of the following special values:

Constants Default Description
STATUS_PHYSICS 0x001 FALSE Object is physical
STATUS_ROTATE_X 0x002 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Y 0x004 TRUE Can turn along this axis (physical objects only)
STATUS_ROTATE_Z 0x008 TRUE Can turn along this axis (physical objects only)
STATUS_PHANTOM 0x010 FALSE Object is phantom
STATUS_SANDBOX 0x020 FALSE Keep object within 10 meters and in the same region
STATUS_BLOCK_GRAB 0x040 FALSE Prevent click-and-drag movement on the root prim
STATUS_DIE_AT_EDGE 0x080 FALSE* Delete and do not return object if it goes off world
STATUS_RETURN_AT_EDGE 0x100 FALSE Return object to owner if it goes off world
STATUS_CAST_SHADOWS 0x200 TRUE not currently used
STATUS_BLOCK_GRAB_OBJECT 0x400 FALSE Prevent click-and-drag movement on all prims in the object
STATUS_DIE_AT_NO_ENTRY 0x800 FALSE Delete and do not return object if it cannot enter a parcel
* STATUS_DIE_AT_EDGE - If the object is rezzed by a script, the default is TRUE
STATUS_DIE_AT_NO_ENTRY - No-copy objects ignore this flag and remain in-world

Pages in category "LSL Integer/bit mask"

The following 4 pages are in this category, out of 4 total.