다음을 통해 공유


SpacePinBinderFile 클래스

정의

파일에서 로컬로 바인딩을 가져오고 가져오는 IBindingOracle 인터페이스의 간단한 구현입니다.

public class SpacePinBinderFile : UnityEngine.MonoBehaviour, Microsoft.MixedReality.WorldLocking.ASA.IBindingOracle
type SpacePinBinderFile = class
    inherit MonoBehaviour
    interface IBindingOracle
Public Class SpacePinBinderFile
Inherits MonoBehaviour
Implements IBindingOracle
상속
UnityEngine.MonoBehaviour
SpacePinBinderFile
구현

설명

이렇게 하면 세션 간에 공간 지속성이 로컬로 구현됩니다. 또한 파일을 디바이스에서 디바이스로 전송하여 HoloLens, Android 및 iOS 간에 공유 공간을 허용할 수 있습니다. 보다 정교한 구현은 매우 유사하지만 로컬 파일에 저장하고 로컬 파일에서 로드하는 대신 클라우드의 공유 위치에 저장하고 로드합니다.

생성자

SpacePinBinderFile()

파일에서 로컬로 바인딩을 가져오고 가져오는 IBindingOracle 인터페이스의 간단한 구현입니다.

속성

Name

이 오라클의 이름입니다.

메서드

Get(IBinder)

파일에서 바인딩을 검색하고 입력 바인더에 적용합니다.

Put(IBinder)

바인딩을 바인더에서 끌어와 파일에 저장합니다.

적용 대상