constant
ConstantSet with Get with
integer SKY_SUN = 14;llSetAgentEnvironment, llSetEnvironmentSKY_SUN, rotation rot, float scale, vector sun_colorllGetEnvironmentSKY_SUN → rotation rot, float scale, vector sun_color, integer is_default_texture, vector direction, vector ambient_color, vector diffuse_colorrotation rot// The current rotation applied to the sunfloat scale// The current scale applied to the sun's texture. Range 0.25–20vector sun_colorinteger is_default_texture// Returned onlyvector direction// A unit vector pointing at the sun. Returned onlyvector ambient_color// The ambient color of the sun. Returned onlyvector 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)
ENVIRONMENT_DAYINFO200SKY_AMBIENT0SKY_BLUE22SKY_CLOUD_TEXTURE19SKY_CLOUDS2SKY_DOME4SKY_GAMMA5SKY_GLOW6SKY_HAZE23SKY_LIGHT8SKY_MOON9SKY_MOON_TEXTURE20SKY_PLANET10SKY_REFLECTION_PROBE_AMBIANCE24SKY_REFRACTION11SKY_STAR_BRIGHTNESS13SKY_SUN_TEXTURE21SKY_TEXTURE_DEFAULTS1SKY_TRACKS15WATER_BLUR_MULTIPLIER100WATER_FOG101WATER_FRESNEL102WATER_NORMAL_SCALE104WATER_NORMAL_TEXTURE107WATER_REFRACTION105WATER_TEXTURE_DEFAULTS103WATER_WAVE_DIRECTION106
Other EnvironmentParam values (22)
SKY_AMBIENT0SKY_BLUE22SKY_CLOUD_TEXTURE19SKY_CLOUDS2SKY_DOME4SKY_GAMMA5SKY_GLOW6SKY_HAZE23SKY_MOON9SKY_MOON_TEXTURE20SKY_PLANET10SKY_REFLECTION_PROBE_AMBIANCE24SKY_REFRACTION11SKY_STAR_BRIGHTNESS13SKY_SUN_TEXTURE21WATER_BLUR_MULTIPLIER100WATER_FOG101WATER_FRESNEL102WATER_NORMAL_SCALE104WATER_NORMAL_TEXTURE107WATER_REFRACTION105WATER_WAVE_DIRECTION106