constant
ConstantSet with Get with
integer SKY_MOON = 9;llSetAgentEnvironment, llSetEnvironmentSKY_MOON, rotation rot, float scale, float brightnessllGetEnvironmentSKY_MOON → rotation rot, float scale, float brightness, integer is_default_texture, vector direction, vector ambient_color, vector diffuse_colorrotation rot// The current rotation applied to the moonfloat scale// The current scale applied to the moon's texture. Range 0.25–20float brightness// The moon's brightness. Range 0–1integer is_default_texture// Returned onlyvector direction// A unit vector pointing at the moon. Returned onlyvector ambient_color// The ambient color of the moon. Returned onlyvector 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)
ENVIRONMENT_DAYINFO200SKY_AMBIENT0SKY_BLUE22SKY_CLOUD_TEXTURE19SKY_CLOUDS2SKY_DOME4SKY_GAMMA5SKY_GLOW6SKY_HAZE23SKY_LIGHT8SKY_MOON_TEXTURE20SKY_PLANET10SKY_REFLECTION_PROBE_AMBIANCE24SKY_REFRACTION11SKY_STAR_BRIGHTNESS13SKY_SUN14SKY_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_MOON_TEXTURE20SKY_PLANET10SKY_REFLECTION_PROBE_AMBIANCE24SKY_REFRACTION11SKY_STAR_BRIGHTNESS13SKY_SUN14SKY_SUN_TEXTURE21WATER_BLUR_MULTIPLIER100WATER_FOG101WATER_FRESNEL102WATER_NORMAL_SCALE104WATER_NORMAL_TEXTURE107WATER_REFRACTION105WATER_WAVE_DIRECTION106