Skip to content
lsl.devlsl.devLSL Dev

Constants in the ParcelMediaQuery enum.

All constant groups

At a glance, from the LSL definitions
// 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

ConstantTypeValueDescription
PARCEL_MEDIA_COMMAND_URLinteger5Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media URL.
PARCEL_MEDIA_COMMAND_TEXTUREinteger4Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel's media texture.
PARCEL_MEDIA_COMMAND_TYPEinteger10Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media MIME type (e.g., 'text/html').
PARCEL_MEDIA_COMMAND_SIZEinteger11Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media pixel resolution.
PARCEL_MEDIA_COMMAND_DESCinteger12Command used with llParcelMediaCommandList or llParcelMediaQuery to get or set the parcel media description.
PARCEL_MEDIA_COMMAND_LOOP_SETinteger13Command 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