Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- touch_start(integer total_number)
- {
- integer link = llDetectedLinkNumber(0);
- integer face = llDetectedTouchFace(0);
- list details = llGetLinkPrimitiveParams(link, [PRIM_GLTF_BASE_COLOR, face]);
- llOwnerSay("Render material UUID: " + llGetRenderMaterial( face));
- llOwnerSay(".");
- llOwnerSay("PRIM_GLTF_BASE_COLOR");
- llOwnerSay("UUID: " + llList2String(details, 0));
- llOwnerSay("repeats: " + llList2String(details, 1));
- llOwnerSay("offsets: " + llList2String(details, 2));
- llOwnerSay("rotation: " + llList2String(details, 3));
- llOwnerSay("color: " + llList2String(details, 4));
- llOwnerSay("alpha: " + llList2String(details, 5));
- llOwnerSay("gltf_alpha_mode: " + llList2String(details, 6));
- llOwnerSay("alpha_mask_cutoff: " + llList2String(details, 7));
- llOwnerSay("double_sided: " + llList2String(details, 8));
- llOwnerSay(".");
- llOwnerSay("PRIM_GLTF_NORMAL");
- llOwnerSay("UUID: " + llList2String(details, 0));
- llOwnerSay("repeats: " + llList2String(details, 1));
- llOwnerSay("offsets: " + llList2String(details, 2));
- llOwnerSay("rotation: " + llList2String(details, 3));
- llOwnerSay(".");
- llOwnerSay("PRIM_GLTF_METALLIC_ROUGHNESS");
- llOwnerSay("UUID: " + llList2String(details, 0));
- llOwnerSay("repeats: " + llList2String(details, 1));
- llOwnerSay("offsets: " + llList2String(details, 2));
- llOwnerSay("rotation: " + llList2String(details, 3));
- llOwnerSay("metallic_factor: " + llList2String(details, 4));
- llOwnerSay("roughness_factor: " + llList2String(details, 5));
- llOwnerSay(".");
- llOwnerSay("PRIM_GLTF_EMISSIVE");
- llOwnerSay("UUID: " + llList2String(details, 0));
- llOwnerSay("repeats: " + llList2String(details, 1));
- llOwnerSay("offsets: " + llList2String(details, 2));
- llOwnerSay("rotation: " + llList2String(details, 3));
- llOwnerSay("emissive_tint: " + llList2String(details, 4));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement