Advertisement
Dorex

Untitled

Feb 3rd, 2024
1,768
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default
  2. {
  3.     touch_start(integer total_number)
  4.     {
  5.         integer link = llDetectedLinkNumber(0);
  6.         integer face = llDetectedTouchFace(0);
  7.         list details = llGetLinkPrimitiveParams(link, [PRIM_GLTF_BASE_COLOR, face]);
  8.        
  9.         llOwnerSay("Render material UUID: " + llGetRenderMaterial( face));
  10.          llOwnerSay(".");
  11.         llOwnerSay("PRIM_GLTF_BASE_COLOR");
  12.         llOwnerSay("UUID: " + llList2String(details, 0));
  13.         llOwnerSay("repeats: " + llList2String(details, 1));
  14.         llOwnerSay("offsets: " + llList2String(details, 2));
  15.         llOwnerSay("rotation: " + llList2String(details, 3));
  16.         llOwnerSay("color: " + llList2String(details, 4));
  17.         llOwnerSay("alpha: " + llList2String(details, 5));
  18.         llOwnerSay("gltf_alpha_mode: " + llList2String(details, 6));
  19.         llOwnerSay("alpha_mask_cutoff: " + llList2String(details, 7));
  20.         llOwnerSay("double_sided: " + llList2String(details, 8));
  21.         llOwnerSay(".");
  22.         llOwnerSay("PRIM_GLTF_NORMAL");
  23.         llOwnerSay("UUID: " + llList2String(details, 0));
  24.         llOwnerSay("repeats: " + llList2String(details, 1));
  25.         llOwnerSay("offsets: " + llList2String(details, 2));
  26.         llOwnerSay("rotation: " + llList2String(details, 3));
  27.         llOwnerSay(".");
  28.         llOwnerSay("PRIM_GLTF_METALLIC_ROUGHNESS");
  29.         llOwnerSay("UUID: " + llList2String(details, 0));
  30.         llOwnerSay("repeats: " + llList2String(details, 1));
  31.         llOwnerSay("offsets: " + llList2String(details, 2));
  32.         llOwnerSay("rotation: " + llList2String(details, 3));
  33.         llOwnerSay("metallic_factor: " + llList2String(details, 4));
  34.         llOwnerSay("roughness_factor: " + llList2String(details, 5));
  35.         llOwnerSay(".");
  36.         llOwnerSay("PRIM_GLTF_EMISSIVE");
  37.         llOwnerSay("UUID: " + llList2String(details, 0));
  38.         llOwnerSay("repeats: " + llList2String(details, 1));
  39.         llOwnerSay("offsets: " + llList2String(details, 2));
  40.         llOwnerSay("rotation: " + llList2String(details, 3));
  41.         llOwnerSay("emissive_tint: " + llList2String(details, 4));
  42.    
  43.     }
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement