ll.GetRenderMaterial (Face: number) -> stringReturns a string that is the render material on face (the inventory name if it is a material in the prim's inventory, otherwise the key). Returns the render material of a face, if it is found in object inventory, its key otherwise.
ll.GetRenderMaterial(3.14)
{
"def": "func",
"desc": "Returns a string that is the render material on face (the inventory name if it is a material in the prim's inventory, otherwise the key).\nReturns the render material of a face, if it is found in object inventory, its key otherwise.",
"energy": 10,
"sleep": 0,
"must_use": true,
"link": "https://wiki.secondlife.com/wiki/LlGetRenderMaterial",
"private": false,
"takesSelf": false,
"name": "GetRenderMaterial",
"signatures": [
{
"def": "signature",
"result": [
{
"name": "",
"def": "result",
"desc": "",
"variadic": false,
"type": [
{
"def": "simple",
"value": "string"
}
],
"optional": false
}
],
"args": [
{
"def": "arg",
"name": "Face",
"desc": "",
"type": [
{
"def": "simple",
"value": "number"
}
],
"variadic": false,
"optional": false
}
]
}
]
}