Difference between revisions of "Link Texture Manipulation"

From Second Life Wiki
Jump to navigation Jump to search
(Moved link_num to the front to conform to current llSetLinkxxxxx functions)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
'''NOTE:''' [[LlSetLinkTexture]] and [[LlSetLinkPrimitiveParams]] were added in 1.14.0.1. llSetLinkPrimitiveParams implements the set functions below, though there is no corresponding llGetLinkPrimitiveParams for the get functions.
----
Pretty self explanatory.  This would allow for some more dynamic texture effects without lagging a sim to hell with link comms and little scripts in each child prim.  It would be very handy to have.
Pretty self explanatory.  This would allow for some more dynamic texture effects without lagging a sim to hell with link comms and little scripts in each child prim.  It would be very handy to have.


Line 14: Line 18:


llOffsetLinkTexture(integer link_num,float horizontal, float vertical, integer side)
llOffsetLinkTexture(integer link_num,float horizontal, float vertical, integer side)
llGetLinkTextureOffset(integer link_num)
llGetLinkTextureOffset(integer link_num,integer side)


llRotateLinkTexture(integer link_num,float angle, integer side)
llRotateLinkTexture(integer link_num,float angle, integer side)

Latest revision as of 07:49, 6 April 2007

NOTE: LlSetLinkTexture and LlSetLinkPrimitiveParams were added in 1.14.0.1. llSetLinkPrimitiveParams implements the set functions below, though there is no corresponding llGetLinkPrimitiveParams for the get functions.


Pretty self explanatory. This would allow for some more dynamic texture effects without lagging a sim to hell with link comms and little scripts in each child prim. It would be very handy to have.

llSetLinkTexture(integer link_num, string texture_uuid, integer side)

For simplicity, instead of being able to accept texture names from inventory, taking only a UUID would be fine.

These would be nice too, but less important:

llScaleLinkTexture(integer link_num,float horizontal, float vertical, integer side)
llGetLinkTextureScale(integer link_num,integer side)

llOffsetLinkTexture(integer link_num,float horizontal, float vertical, integer side)
llGetLinkTextureOffset(integer link_num,integer side)

llRotateLinkTexture(integer link_num,float angle, integer side)
llGetLinkTextureRot(integer link_num,integer side)