SW 중심대학 OSS GIT 서버 박건태, 이승준, 고기완, 이준호 새로운 배포
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.3 KiB

4 years ago
  1. using System;
  2. using UnityEngine.XR.ARSubsystems;
  3. namespace UnityEngine.XR.ARFoundation
  4. {
  5. /// <summary>
  6. /// Represents a participant (i.e., another device in a collaborative session).
  7. /// </summary>
  8. /// <remarks>
  9. /// Generated by the <see cref="ARParticipantManager"/> to represent another participant in the session.
  10. /// </remarks>
  11. // [DefaultExecutionOrder(ARUpdateOrder.k_Plane)]
  12. [DisallowMultipleComponent]
  13. [HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.0/api/UnityEngine.XR.ARFoundation.ARParticipant.html")]
  14. public sealed class ARParticipant : ARTrackable<XRParticipant, ARParticipant>
  15. {
  16. /// <summary>
  17. /// Get a native pointer associated with this participant.
  18. /// </summary>
  19. /// <remarks>
  20. /// The data pointed to by this member is implementation defined.
  21. /// The lifetime of the pointed to object is also
  22. /// implementation defined, but should be valid at least until the next
  23. /// <see cref="ARSession"/> update.
  24. /// </remarks>
  25. public IntPtr nativePtr { get { return sessionRelativeData.nativePtr; } }
  26. /// <summary>
  27. /// Get this participant's session identifier.
  28. /// </summary>
  29. public Guid sessionId { get { return sessionRelativeData.sessionId; } }
  30. }
  31. }