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.
|
|
using System;using UnityEngine.XR.ARSubsystems;
namespace UnityEngine.XR.ARFoundation{ /// <summary>
/// Represents an Anchor tracked by an XR device.
/// </summary>
/// <remarks>
/// A anchor is a pose in the physical environment that is tracked by an XR device.
/// As the device refines its understanding of the environment, anchors will be
/// updated, helping you to keep virtual content connected to a real-world position and orientation.
/// </remarks>
[DefaultExecutionOrder(ARUpdateOrder.k_Anchor)] [DisallowMultipleComponent] [HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.0/api/UnityEngine.XR.ARFoundation.ARAnchor.html")] public sealed class ARAnchor : ARTrackable<XRAnchor, ARAnchor> { /// <summary>
/// Get the native pointer associated with this <see cref="ARAnchor"/>.
/// </summary>
/// <remarks>
/// The data pointed to by this pointer is implementation defined. While its
/// lifetime is also implementation defined, it should be valid until at least
/// the next <see cref="ARSession"/> update.
/// </remarks>
public IntPtr nativePtr { get { return sessionRelativeData.nativePtr; } }
/// <summary>
/// Get the session identifier from which this anchor originated.
/// </summary>
public Guid sessionId { get { return sessionRelativeData.sessionId; } } }}
|