mirror of
https://github.com/opensim/opensim.git
synced 2026-08-02 06:44:15 +08:00
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
This commit is contained in:
@@ -2007,7 +2007,16 @@ namespace OpenSim.Region.ScriptEngine.Common
|
||||
|
||||
public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate)
|
||||
{
|
||||
NotImplemented("llSetTextureAnim");
|
||||
Primitive.TextureAnimation pTexAnim = new Primitive.TextureAnimation();
|
||||
pTexAnim.Flags = (uint)mode;
|
||||
pTexAnim.Face = (uint)face;
|
||||
pTexAnim.Length = (float)length;
|
||||
pTexAnim.Rate = (float)rate;
|
||||
pTexAnim.SizeX = (uint)sizex;
|
||||
pTexAnim.SizeY = (uint)sizey;
|
||||
pTexAnim.Start = (float)start;
|
||||
m_host.AddTextureAnimation(pTexAnim);
|
||||
m_host.SendFullUpdateToAllClients();
|
||||
}
|
||||
|
||||
public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east,
|
||||
|
||||
Reference in New Issue
Block a user