Parcel Appearance
Read and update environment settings.
Feature: Environments
What do you want to do?
list llGetEnvironment(vector pos, list params)Returns a list containing the current environment parameters for the parcel or region at pos, retrieved in the order specified by params.integer llSetEnvironment(vector position, list params)Overrides the environmental settings at position for a parcel (or region if position is <-1.0, -1.0, z>) using the parameters in params. Passing an empty params list removes previous overrides.integer llReplaceEnvironment(vector position, string environment, integer track_no, integer day_length, integer day_offset)Replaces the environment on the parcel containing position (or the entire region if position is <-1.0, -1.0, -1.0>) for the specified track_no. Modifies day_length and day_offset if specified. Requires edit permissions on the parcel or estate management rights.Reference
9 topic entries
list llGetEnvironment(vector pos, list params)functionReturns a list containing the current environment parameters for the parcel or region at pos, retrieved in the order specified by params.
vector llGetMoonDirection()functionReturns a normalized vector representing the current direction of the parcel's moon, taking altitude into account. Falls back to the region's moon direction if no custom parcel environment is set.
rotation llGetMoonRotation()functionReturns a rotation representing the orientation applied to the moon on the current parcel and altitude track. Falls back to the region's moon rotation if no custom parcel environment is set.
vector llGetSunDirection()functionReturns a normalized vector representing the current direction of the parcel's sun, taking altitude into account. Falls back to the region's sun direction if no custom parcel environment is set.
rotation llGetSunRotation()functionReturns a rotation representing the orientation applied to the sun on the current parcel and altitude track. Falls back to the region's sun rotation if no custom parcel environment is set.
integer llReplaceAgentEnvironment(key agent_id, float transition, string environment)functionReplaces the region and parcel environment seen by the specified agent_id as part of an experience, transitioning the settings over transition seconds. Passing
NULL_KEYor an empty string for environment restores defaults.integer llReplaceEnvironment(vector position, string environment, integer track_no, integer day_length, integer day_offset)functionReplaces the environment on the parcel containing position (or the entire region if position is <-1.0, -1.0, -1.0>) for the specified track_no. Modifies day_length and day_offset if specified. Requires edit permissions on the parcel or estate management rights.
integer llSetAgentEnvironment(key agent_id, float transition, list params)functionSets an individual agent's environmental settings using the attributes in params over a duration of transition seconds. Must be used as part of an experience; passing an empty list removes overrides.
integer llSetEnvironment(vector position, list params)functionOverrides the environmental settings at position for a parcel (or region if position is <-1.0, -1.0, z>) using the parameters in params. Passing an empty params list removes previous overrides.
No matching entries. Try a different term or filter.