Skip to content

SKY_SUN

constant
Constant
integer SKY_SUN = 14;
Set with llSetAgentEnvironment, llSetEnvironment
SKY_SUN, rotation rot, float scale, vector sun_color
Get with llGetEnvironment
SKY_SUN → rotation rot, float scale, vector sun_color, integer is_default_texture, vector direction, vector ambient_color, vector diffuse_color
  1. rotation rot// The current rotation applied to the sun
  2. float scale// The current scale applied to the sun's texture. Range 0.25–20
  3. vector sun_color
  4. integer is_default_texture// Returned only
  5. vector direction// A unit vector pointing at the sun. Returned only
  6. vector ambient_color// The ambient color of the sun. Returned only
  7. vector diffuse_color// The diffuse color applied to the sun. Returned only

Environmental sun parameters: rotation, scale, color, is_default_texture, direction vector, ambient color, and diffuse color.

Other EnvironmentParamReadOnly values (27)
Other EnvironmentParam values (22)