| 630 |
throw new System.NotImplementedException(); |
throw new System.NotImplementedException(); |
| 631 |
} |
} |
| 632 |
|
|
| 633 |
internal void SendRexForceFOV(float fov, bool enable) |
/// <summary> |
| 634 |
{ |
/// Force Field Of View |
| 635 |
throw new System.NotImplementedException(); |
/// </summary> |
| 636 |
} |
/// <param name="fov">Field of View in degrees. This parameter is irrelevant when disabling FOV</param> |
| 637 |
|
/// <param name="enable">True to enable, False to disable</param> |
| 638 |
|
public void SendRexForceFOV(float fov, bool enable) |
| 639 |
|
{ |
| 640 |
|
List<string> pack = new List<string>(); |
| 641 |
|
|
| 642 |
|
pack.Add(fov.ToString()); |
| 643 |
|
pack.Add(enable.ToString()); |
| 644 |
|
|
| 645 |
|
SendGenericMessage("RexForceFOV", pack); |
| 646 |
|
} |
| 647 |
|
|
| 648 |
|
/// <summary> |
| 649 |
|
/// Sends Forced Camera mode to client |
| 650 |
|
/// </summary> |
| 651 |
|
/// <param name="forceMode">1 = 1st person mode, 3 = 3rd person mode, 0 = no limits</param> |
| 652 |
|
/// <param name="minZoom">Minimum zoom (0.0-1.0)</param> |
| 653 |
|
/// <param name="maxZoom">Maximum zoom (0.0-1.0)</param> |
| 654 |
|
public void SendRexForceCamera(int forceMode, float minZoom, float maxZoom) |
| 655 |
|
{ |
| 656 |
|
List<string> pack = new List<string>(); |
| 657 |
|
|
| 658 |
|
pack.Add(forceMode.ToString()); |
| 659 |
|
pack.Add(minZoom.ToString()); |
| 660 |
|
pack.Add(maxZoom.ToString()); |
| 661 |
|
|
| 662 |
|
SendGenericMessage("RexForceCamera", pack); |
| 663 |
|
} |
| 664 |
|
|
| 665 |
|
/// <summary> |
| 666 |
|
/// Sends the sky to user |
| 667 |
|
/// </summary> |
| 668 |
|
/// <param name="type">Type of the sky: 0 = none, 1 = skybox, 2 = skydome</param> |
| 669 |
|
/// <param name="images">List of image uuids - separated by space - to use for the sky. |
| 670 |
|
/// Skyboxes need 6 images, skydomes take one image. |
| 671 |
|
/// You can add suffix to the uuids to specify which side the texture should go to: |
| 672 |
|
/// _fr front, _lf left, _rt right, _bk back, _up up, _dn down </param> |
| 673 |
|
/// <param name="curvature">Curvature of the skydome. Values around 10.0 are good for |
| 674 |
|
/// open spaces and landscapes. Not used with skyboxes</param> |
| 675 |
|
/// <param name="tiling">Skydome tiling. Not used with skyboxes.</param> |
| 676 |
|
public void SendRexSky(int type, string images, float curvature, float tiling) |
| 677 |
|
{ |
| 678 |
|
List<string> pack = new List<string>(); |
| 679 |
|
|
| 680 |
|
pack.Add(type.ToString()); |
| 681 |
|
pack.Add(images); |
| 682 |
|
pack.Add(curvature.ToString()); |
| 683 |
|
pack.Add(tiling.ToString()); |
| 684 |
|
|
| 685 |
internal void SendRexForceCamera(int forceMode, float minZoom, float maxZoom) |
SendGenericMessage("RexSky", pack); |
|
{ |
|
|
throw new System.NotImplementedException(); |
|
|
} |
|
|
|
|
|
internal void SendRexSky(int type, string images, float curvature, float tiling) |
|
|
{ |
|
|
throw new System.NotImplementedException(); |
|
| 686 |
} |
} |
| 687 |
|
|
| 688 |
internal void SendRexPreloadAssets(Dictionary<UUID, uint> tempassetlist) |
internal void SendRexPreloadAssets(Dictionary<UUID, uint> tempassetlist) |
| 690 |
throw new System.NotImplementedException(); |
throw new System.NotImplementedException(); |
| 691 |
} |
} |
| 692 |
|
|
| 693 |
internal void SendMediaURL(UUID assetId, string mediaURL, byte vRefreshRate) |
/// <summary> |
| 694 |
|
/// Sends MediaURL to client |
| 695 |
|
/// </summary> |
| 696 |
|
/// <param name="assetId">UUID of the asset which to replace with MediaURL content</param> |
| 697 |
|
/// <param name="mediaURL">URL pointing to web-page or vnc server</param> |
| 698 |
|
/// <param name="refreshRate">How many times per second to refresh the texture</param> |
| 699 |
|
public void SendMediaURL(UUID assetId, string mediaURL, byte refreshRate) |
| 700 |
{ |
{ |
| 701 |
throw new System.NotImplementedException(); |
List<string> pack = new List<string>(); |
| 702 |
|
|
| 703 |
|
pack.Add(assetId.ToString()); |
| 704 |
|
pack.Add(mediaURL); |
| 705 |
|
pack.Add(refreshRate.ToString()); |
| 706 |
|
|
| 707 |
|
SendGenericMessage("RexMediaUrl", pack); |
| 708 |
} |
} |
| 709 |
|
|
| 710 |
internal void RexIKSendLimbTarget(UUID vAgentID, int vLimbId, Vector3 vDest, float vTimeToTarget, float vStayTime, float vConstraintAngle, string vStartAnim, string vTargetAnim, string vEndAnim) |
public void RexIKSendLimbTarget(UUID agentID, int limbId, Vector3 destination, float timeToTarget, |
| 711 |
|
float stayTime, float constraintAngle, string startAnim, string targetAnim, string endAnim) |
| 712 |
{ |
{ |
| 713 |
throw new System.NotImplementedException(); |
List<string> pack = new List<string>(); |
| 714 |
|
|
| 715 |
|
pack.Add("0"); |
| 716 |
|
pack.Add(agentID.ToString()); |
| 717 |
|
pack.Add(limbId.ToString()); |
| 718 |
|
string sDest = destination.X.ToString() + " " + destination.Y.ToString() + " " + destination.Z.ToString(); |
| 719 |
|
sDest = sDest.Replace(",", "."); |
| 720 |
|
pack.Add(sDest); |
| 721 |
|
pack.Add(timeToTarget.ToString()); |
| 722 |
|
pack.Add(stayTime.ToString()); |
| 723 |
|
pack.Add(constraintAngle.ToString()); |
| 724 |
|
pack.Add(startAnim); |
| 725 |
|
pack.Add(targetAnim); |
| 726 |
|
pack.Add(endAnim); |
| 727 |
|
|
| 728 |
|
SendGenericMessage("RexIK", pack); |
| 729 |
} |
} |
| 730 |
|
|
| 731 |
public void SendRexAvatarAnimation(UUID agentID, string vAnimName, float vRate, float vFadeIn, float vFadeOut, int nRepeats, bool vbStopAnim) //rex |
public void SendRexAvatarAnimation(UUID agentID, string animName, float rate, float fadeIn, |
| 732 |
|
float fadeOut, int repeats, bool stopAnim) |
| 733 |
{ |
{ |
| 734 |
throw new System.NotImplementedException(); |
List<string> pack = new List<string>(); |
| 735 |
|
|
| 736 |
|
pack.Add(agentID.ToString()); |
| 737 |
|
pack.Add(animName); |
| 738 |
|
pack.Add(rate.ToString()); |
| 739 |
|
pack.Add(fadeIn.ToString().Replace(",",".")); |
| 740 |
|
pack.Add(fadeOut.ToString().Replace(",", ".")); |
| 741 |
|
pack.Add(repeats.ToString()); |
| 742 |
|
pack.Add(stopAnim.ToString()); |
| 743 |
|
|
| 744 |
|
SendGenericMessage("RexAnim", pack); |
| 745 |
} |
} |
| 746 |
|
|
| 747 |
internal void SendRexAvatarMorph(UUID uUID, string vMorphName, float vWeight, float vTime) |
public void SendRexAvatarMorph(UUID agentID, string morphName, float weight, float time) |
| 748 |
{ |
{ |
| 749 |
throw new System.NotImplementedException(); |
List<string> pack = new List<string>(); |
| 750 |
|
|
| 751 |
|
pack.Add(agentID.ToString()); |
| 752 |
|
pack.Add(morphName); |
| 753 |
|
pack.Add(weight.ToString()); |
| 754 |
|
pack.Add(time.ToString()); |
| 755 |
|
|
| 756 |
|
SendGenericMessage("RexMorph", pack); |
| 757 |
} |
} |
| 758 |
|
|
| 759 |
internal void SendRexMeshAnimation(UUID uUID, string vAnimName, float vRate, bool vbLooped, bool vbStopAnim) |
internal void SendRexMeshAnimation(UUID uUID, string vAnimName, float vRate, bool vbLooped, bool vbStopAnim) |