Skip to content

SKY_MOON

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

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

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