PRIM FULLBRIGHT

From Second Life Wiki
Jump to: navigation, search

Description

Constant: integer PRIM_FULLBRIGHT = 20;

The integer constant PRIM_FULLBRIGHT has the value 20

Used to get or set the full-bright setting of a prim's face.

llSetPrimitiveParams

[ PRIM_FULLBRIGHT, integer face, integer boolean ]
• integer face face number or ALL_SIDES
• integer boolean TRUE enables, FALSE disables

When used with llSetPrimitiveParams & llSetLinkPrimitiveParams

llGetPrimitiveParams

llGetPrimitiveParams([ PRIM_FULLBRIGHT, integer face ]);

Returns the list [ integer boolean ]

• integer face face number or ALL_SIDES

• integer boolean TRUE enables, FALSE disables

Caveats

  • If face is ALL_SIDES then the PRIM_FULLBRIGHT works on all sides.
  • If face indicates a face that does not exist the PRIM_FULLBRIGHT return is [ FALSE ]

Related Articles

Constants

•  CHANGED_TEXTURE?

Functions

•  llSetPrimitiveParams
•  llSetLinkPrimitiveParams
•  llGetPrimitiveParams

Events

•  changed

Deep Notes

Search JIRA for related Issues

Signature

integer PRIM_FULLBRIGHT = 20;