OSSL Constants
From OpenSimulator
(Difference between revisions)
(Linkified the constants, pointing to (new) pages below this one, prolly good idea to document consts too. Also added page to categories.) |
m (Robot: Cosmetic changes) |
||
Line 4: | Line 4: | ||
Sources: | Sources: | ||
− | *LSL_Constants.cs | + | * LSL_Constants.cs (OpenSim source) for LSL and OSSL Constants |
− | *CM_Constants.cs | + | * CM_Constants.cs (OpenSim source) for LightShare/Windlight Constants |
Line 12: | Line 12: | ||
| '''Constant Name''' || '''Value''' || '''Notes''' | | '''Constant Name''' || '''Value''' || '''Notes''' | ||
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/NPC|NPC]] || 0x20 || |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/CHANGED ANIMATION|CHANGED_ANIMATION]] || 16384 || OS Only Change Event Useage |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS TIME DILATION|STATS_TIME_DILATION]] || 0 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS SIM FPS|STATS_SIM_FPS]] || 1 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS PHYSICS FPS|STATS_PHYSICS_FPS]] || 2 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS AGENT UPDATES|STATS_AGENT_UPDATES]] || 3 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS ROOT AGENTS|STATS_ROOT_AGENTS]] || 4 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS CHILD AGENTS|STATS_CHILD_AGENTS]] || 5 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS TOTAL PRIMS|STATS_TOTAL_PRIMS]] || 6 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS ACTIVE PRIMS|STATS_ACTIVE_PRIMS]] || 7 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS FRAME MS|STATS_FRAME_MS]] || 8 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS NET MS|STATS_NET_MS]] || 9 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS PHYSICS MS|STATS_PHYSICS_MS]] || 10 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS IMAGE MS|STATS_IMAGE_MS]] || 11 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS OTHER MS|STATS_OTHER_MS]] || 12 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS IN PACKETS PER SECOND|STATS_IN_PACKETS_PER_SECOND]] || 13 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS OUT PACKETS PER SECOND|STATS_OUT_PACKETS_PER_SECOND]] || 14 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS UNACKED BYTES|STATS_UNACKED_BYTES]] || 15 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS AGENT MS|STATS_AGENT_MS]] || 16 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS PENDING DOWNLOADS|STATS_PENDING_DOWNLOADS]] || 17 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS PENDING UPLOADS|STATS_PENDING_UPLOADS]] || 18 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS ACTIVE SCRIPTS|STATS_ACTIVE_SCRIPTS]] || 19 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/STATS SCRIPT LPS|STATS_SCRIPT_LPS]] || 20 || osGetRegionStats |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC FLY|OS_NPC_FLY]] || 0 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC NO FLY|OS_NPC_NO_FLY]] || 1 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC LAND AT TARGET|OS_NPC_LAND_AT_TARGET]] || 2 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC SIT NOW|OS_NPC_SIT_NOW]] || 0 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC CREATOR OWNED|OS_NPC_CREATOR_OWNED]] || 0x1 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC NOT OWNED|OS_NPC_NOT_OWNED]] || 0x2 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/OS NPC SENSE AS AGENT|OS_NPC_SENSE_AS_AGENT]] || 0x4 || osNPC |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/PARCEL DETAILS CLAIMDATE|PARCEL_DETAILS_CLAIMDATE]] || 10|| osSetParcelDetails |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL WATER COLOR|WL_WATER_COLOR]] || 0|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL WATER FOG DENSITY EXPONENT|WL_WATER_FOG_DENSITY_EXPONENT]] || 1|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL UNDERWATER FOG MODIFIER|WL_UNDERWATER_FOG_MODIFIER]] || 2|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL REFLECTION WAVELET SCALE|WL_REFLECTION_WAVELET_SCALE]] || 3|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL FRESNEL SCALE|WL_FRESNEL_SCALE]] || 4|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL FRESNEL OFFSET|WL_FRESNEL_OFFSET]] || 5|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL REFRACT SCALE ABOVE|WL_REFRACT_SCALE_ABOVE]] || 6|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL REFRACT SCALE BELOW|WL_REFRACT_SCALE_BELOW]] || 7|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL BLUR MULTIPLIER|WL_BLUR_MULTIPLIER]] || 8|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL BIG WAVE DIRECTION|WL_BIG_WAVE_DIRECTION]] || 9|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL LITTLE WAVE DIRECTION|WL_LITTLE_WAVE_DIRECTION]] || 10|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL NORMAL MAP TEXTURE|WL_NORMAL_MAP_TEXTURE]] || 11|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL HORIZON|WL_HORIZON]] || 12|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL HAZE HORIZON|WL_HAZE_HORIZON]] || 13|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL BLUE DENSITY|WL_BLUE_DENSITY]] || 14|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL HAZE DENSITY|WL_HAZE_DENSITY]] || 15|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL DENSITY MULTIPLIER|WL_DENSITY_MULTIPLIER]] || 16|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL DISTANCE MULTIPLIER|WL_DISTANCE_MULTIPLIER]] || 17|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL MAX ALTITUDE|WL_MAX_ALTITUDE]] || 18|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL SUN MOON COLOR|WL_SUN_MOON_COLOR]] || 19|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL AMBIENT|WL_AMBIENT]] || 20|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL EAST ANGLE|WL_EAST_ANGLE]] || 21|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL SUN GLOW FOCUS|WL_SUN_GLOW_FOCUS]] || 22|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL SUN GLOW SIZE|WL_SUN_GLOW_SIZE]] || 23|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL SCENE GAMMA|WL_SCENE_GAMMA]] || 24|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL STAR BRIGHTNESS|WL_STAR_BRIGHTNESS]] || 25|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD COLOR|WL_CLOUD_COLOR]] || 26|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD XY DENSITY|WL_CLOUD_XY_DENSITY]] || 27|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD COVERAGE|WL_CLOUD_COVERAGE]] || 28|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD SCALE|WL_CLOUD_SCALE]] || 29|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD DETAIL XY DENSITY|WL_CLOUD_DETAIL_XY_DENSITY]] || 30|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD SCROLL X|WL_CLOUD_SCROLL_X]] || 31|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD SCROLL Y|WL_CLOUD_SCROLL_Y]] || 32|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD SCROLL Y LOCK|WL_CLOUD_SCROLL_Y_LOCK]] || 33|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL CLOUD SCROLL X LOCK|WL_CLOUD_SCROLL_X_LOCK]] || 34|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL DRAW CLASSIC CLOUDS|WL_DRAW_CLASSIC_CLOUDS]] || 35|| |
|- | |- | ||
− | | [[ | + | | [[OSSL Constants/WL SUN MOON POSITION|WL_SUN_MOON_POSITION]] || 36|| |
|- | |- | ||
|} | |} | ||
− | + | [[Category:OSSL]] | |
− | [[Category:OSSL]][[Category:OSSL Constants]][[Category:Scripting]] | + | [[Category:OSSL Constants]] |
+ | [[Category:Scripting]] |
Revision as of 19:40, 3 March 2012
OSSL Constants
These are extracted from OpenSim DEV 0.7.4 OpenSim-0007711-r/18206 March 1, 2012
Sources:
- LSL_Constants.cs (OpenSim source) for LSL and OSSL Constants
- CM_Constants.cs (OpenSim source) for LightShare/Windlight Constants