PRIM BUMP SHINY/fr
Jump to navigation
Jump to search
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Description
Constant: integer PRIM_BUMP_SHINY = 19;The integer constant PRIM_BUMP_SHINY has the value 19
Used to get or set the bump and shiny settings of the prim's face.
shiny & bump Flags | Description | ||||||
---|---|---|---|---|---|---|---|
PRIM_SHINY_NONE | 0 | none | |||||
PRIM_SHINY_LOW | 1 | low | |||||
PRIM_SHINY_MEDIUM | 2 | medium | |||||
PRIM_SHINY_HIGH | 3 | high | |||||
PRIM_BUMP_NONE | 0 | none: no bump map | |||||
PRIM_BUMP_BRIGHT | 1 | brightness: generate from highlights | |||||
PRIM_BUMP_DARK | 2 | darkness: generate from lowlights | |||||
PRIM_BUMP_WOOD | 3 | woodgrain | |||||
PRIM_BUMP_BARK | 4 | bark | |||||
PRIM_BUMP_BRICKS | 5 | bricks | |||||
PRIM_BUMP_CHECKER | 6 | checker | |||||
PRIM_BUMP_CONCRETE | 7 | concrete | |||||
PRIM_BUMP_TILE | 8 | crustytile | |||||
PRIM_BUMP_STONE | 9 | cutstone: blocks | |||||
PRIM_BUMP_DISKS | 10 | discs: packed circles | |||||
PRIM_BUMP_GRAVEL | 11 | gravel | |||||
PRIM_BUMP_BLOBS | 12 | petridish: blobby amoeba like shapes | |||||
PRIM_BUMP_SIDING | 13 | siding | |||||
PRIM_BUMP_LARGETILE | 14 | stonetile | |||||
PRIM_BUMP_STUCCO | 15 | stucco | |||||
PRIM_BUMP_SUCTION | 16 | suction: rings | |||||
PRIM_BUMP_WEAVE | 17 | weave |
llSetPrimitiveParams
[ PRIM_BUMP_SHINY, integer face, integer shiny, integer bump ]• integer | face | – | face number or ALL_SIDES | |
• integer | shiny | – | PRIM_SHINY_* flag | |
• integer | bump | – | PRIM_BUMP_* flag |
When used with llSetPrimitiveParams & llSetLinkPrimitiveParams
llGetPrimitiveParams
llGetPrimitiveParams([ PRIM_BUMP_SHINY, integer face ]);Returns the list [ integer shiny, integer bump ]
• integer | face | – | face number or ALL_SIDES | ||
• integer | shiny | – | PRIM_SHINY_* flag | ||
• integer | bump | – | PRIM_BUMP_* flag |
Caveats
- If face is ALL_SIDES then the PRIM_BUMP_SHINY works on all sides.
- If face indicates a face that does not exist the PRIM_BUMP_SHINY return is [ PRIM_SHINY_NONE, PRIM_BUMP_NONE ]
Caveats
Related Articles
Constants
• | CHANGED_TEXTURE? |
Functions
• | llSetPrimitiveParams | |||
• | llSetLinkPrimitiveParams | |||
• | llGetPrimitiveParams |
Events
• | changed |