ll.GetPrimMediaParams

ll.GetPrimMediaParams (Face: number, Parameters: list) -> list

Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.

Example

ll.GetPrimMediaParams(3.14, {})
Raw function spec json
{
  "def": "func",
  "desc": "Returns the media parameters for a particular face on an object, given the desired list of parameter names, in the order requested. Returns an empty list if no media exists on the face.",
  "energy": 10,
  "sleep": 1,
  "must_use": true,
  "link": "https://wiki.secondlife.com/wiki/LlGetPrimMediaParams",
  "private": false,
  "takesSelf": false,
  "name": "GetPrimMediaParams",
  "signatures": [
    {
      "def": "signature",
      "result": [
        {
          "name": "",
          "def": "result",
          "desc": "",
          "variadic": false,
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "optional": false
        }
      ],
      "args": [
        {
          "def": "arg",
          "name": "Face",
          "desc": "face number",
          "type": [
            {
              "def": "simple",
              "value": "number"
            }
          ],
          "variadic": false,
          "optional": false
        },
        {
          "def": "arg",
          "name": "Parameters",
          "desc": "One or more PRIM_MEDIA_* flags",
          "type": [
            {
              "def": "simple",
              "value": "list"
            }
          ],
          "variadic": false,
          "optional": false
        }
      ]
    }
  ]
}

< Back to ll