added a list of SurfaceTouchEventArgs to the IClientAPI.OnGrabUpdate event, for the new surface touch parameters in 1.21 viewers.

TODO: add the touch args to OnGrabObject and OnDeGrabObject.
This commit is contained in:
MW
2008-10-10 16:01:59 +00:00
parent 1edfbc652a
commit 5be7442736
5 changed files with 36 additions and 4 deletions

View File

@@ -144,7 +144,7 @@ namespace OpenSim.Framework
public delegate void AvatarPickerRequest(IClientAPI remoteClient, UUID agentdata, UUID queryID, string UserQuery
);
public delegate void MoveObject(UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient);
public delegate void MoveObject(UUID objectID, Vector3 offset, Vector3 grapPos, IClientAPI remoteClient, List<SurfaceTouchEventArgs> surfaceArgs);
public delegate void ParcelAccessListRequest(
UUID agentID, UUID sessionID, uint flags, int sequenceID, int landLocalID, IClientAPI remote_client);

View File

@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Text;
using OpenMetaverse;
namespace OpenSim.Framework
{
public class SurfaceTouchEventArgs
{
public Vector3 Binormal;
public int FaceIndex;
public Vector3 Normal;
public Vector3 Position;
public Vector3 STCoord;
public Vector3 UVCoord;
}
}