Difference between revisions of "Talk:PRIM TEXTURE"
Jump to navigation
Jump to search
m |
|||
Line 7: | Line 7: | ||
As always the texture must be full perm. [[User:Dora Gustafson|Dora Gustafson]] 12:12, 7 June 2014 (PDT) | As always the texture must be full perm. [[User:Dora Gustafson|Dora Gustafson]] 12:12, 7 June 2014 (PDT) | ||
<br>All this is already in the wiki at [[PRIM_TEXTURE#Target]], sorry for my confusion. [[User:Dora Gustafson|Dora Gustafson]] 16:07, 8 June 2014 (PDT) | <br>All this is already in the wiki at [[PRIM_TEXTURE#Target]], sorry for my confusion. [[User:Dora Gustafson|Dora Gustafson]] 16:07, 8 June 2014 (PDT) | ||
:You aren't confused, I just added it. It was hinted at by the differences in descriptions for '''texture''' but wasn't explicit. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 18: | :You aren't confused, I just added it. It was hinted at by the differences in descriptions for '''texture''' but wasn't explicit. | ||
:'''P.S.''' It was a pain to do. I kept finding problems with the caveats, which turned out to be buried in this insane rat maze of coding (I've been saying it for years but I really need to rework the inner workings of the primitive params articles). The most perplexing on the face of it had to do with default return values, as in PRIM_TEXTURE return values were being swapped with that of PRIM_TEXGEN (the two articles include each other and there was a variable name collision). -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 18:34, 8 June 2014 (PDT) |
Revision as of 18:34, 8 June 2014
llGetLinkPrimitiveParams, texture name or UUID
With llGetLinkPrimitiveParams used from one script in a link-set it is important to note:
- The texture UUID is returned if the touched prim doesn't contain the texture
- The texture name is returned only when the touched prim contain the texture
- Having all textures on the object contained in the root-prim will not secure that texture names are returned when the object is touched
As always the texture must be full perm. Dora Gustafson 12:12, 7 June 2014 (PDT)
All this is already in the wiki at PRIM_TEXTURE#Target, sorry for my confusion. Dora Gustafson 16:07, 8 June 2014 (PDT)
- You aren't confused, I just added it. It was hinted at by the differences in descriptions for texture but wasn't explicit.
- P.S. It was a pain to do. I kept finding problems with the caveats, which turned out to be buried in this insane rat maze of coding (I've been saying it for years but I really need to rework the inner workings of the primitive params articles). The most perplexing on the face of it had to do with default return values, as in PRIM_TEXTURE return values were being swapped with that of PRIM_TEXGEN (the two articles include each other and there was a variable name collision). -- Strife (talk|contribs) 18:34, 8 June 2014 (PDT)