ICurvedPlane.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. namespace Rokid.UXR.Interaction
  2. {
  3. /// <summary>
  4. /// Represents a curved rectangular section of a
  5. /// cylinder wall.
  6. /// </summary>
  7. public interface ICurvedPlane
  8. {
  9. /// <summary>
  10. /// The cylinder the curved plane lies on
  11. /// 曲面所在的圆柱体
  12. /// </summary>
  13. Cylinder Cylinder { get; }
  14. /// <summary>
  15. /// The horizontal size of the plane, in degrees
  16. /// 平面的水平尺寸,以度为单位
  17. /// </summary>
  18. float ArcDegrees { get; }
  19. /// <summary>
  20. /// The rotation of the center of the plane relative
  21. /// to the Cylinder's forward Z axis, in degrees
  22. /// 平面中心相对于圆柱体向前 Z 轴的旋转,以度为单位
  23. /// </summary>
  24. float Rotation { get; }
  25. /// <summary>
  26. /// The bottom of the plane relative to the
  27. /// Cylinder Y position, in Cylinder local space
  28. /// 平面的底部相对于
  29. /// 圆柱体Y位置,在圆柱体局部空间
  30. /// </summary>
  31. float Bottom { get; }
  32. /// <summary>
  33. /// The top of the plane relative to the
  34. /// Cylinder Y position, in Cylinder local space
  35. /// 平面的顶部相对于
  36. /// 圆柱体Y位置,在圆柱体局部空间
  37. /// </summary>
  38. float Top { get; }
  39. }
  40. }