mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
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:
@@ -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);
|
||||
|
||||
17
OpenSim/Framework/SurfaceTouchEventArgs.cs
Normal file
17
OpenSim/Framework/SurfaceTouchEventArgs.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user