ParcelMediaQuery
Constants in the ParcelMediaQuery enum.
// Media settingsPARCEL_MEDIA_COMMAND_URL → string urlPARCEL_MEDIA_COMMAND_TEXTURE → key uuid // the texture the media replacesPARCEL_MEDIA_COMMAND_TYPE → string mime_type // e.g. "text/html"PARCEL_MEDIA_COMMAND_SIZE → integer x, integer y // pixelsPARCEL_MEDIA_COMMAND_DESC → string descPARCEL_MEDIA_COMMAND_LOOP_SET → float loop // loop duration
Constants
Media settings
| Constant | Type | Value | Description |
|---|---|---|---|
PARCEL_MEDIA_COMMAND_URL | integer | 5 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media URL. |
PARCEL_MEDIA_COMMAND_TEXTURE | integer | 4 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media texture. |
PARCEL_MEDIA_COMMAND_TYPE | integer | 10 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media MIME type (e.g., 'text/html'). |
PARCEL_MEDIA_COMMAND_SIZE | integer | 11 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media pixel resolution. |
PARCEL_MEDIA_COMMAND_DESC | integer | 12 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media description. |
PARCEL_MEDIA_COMMAND_LOOP_SET | integer | 13 | Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media looping variable or loop duration (which may have functionality limitations; see VWR-19712). |
Used by
llParcelMediaQueryfunctionQueries the media properties of the parcel containing the script, returning a list of values in the order requested by query. Only works if the object is owned by the landowner or deeded to the land's group.