C# 클래스 UNetAnchorManager

Creates, exports, and imports anchors as required.
상속: NetworkBehaviour
파일 보기 프로젝트 열기: Microsoft/HoloToolkit-Unity 1 사용 예제들

공개 메소드들

메소드 설명
CreateAnchor ( ) : void

If we are supposed to create the anchor for export, this is the function to call.

WaitForAnchor ( ) : void

If we don't have the anchor already, call this to download the anchor.

비공개 메소드들

메소드 설명
AttachToCachedAnchor ( string AnchorName ) : bool

Attempts to attach to an anchor by anchorName in the local store..

CheckConfiguration ( ) : bool

Ensures that the scene has what we need to continue.

ExportComplete ( SerializationCompletionReason status ) : void

Called when serializing an anchor is complete.

ImportComplete ( SerializationCompletionReason status, WorldAnchorTransferBatch wat ) : void

Called when a remote anchor has been deserialized

NetworkTransmitter_dataReadyEvent ( byte data ) : void

Called when anchor data is ready.

Start ( ) : void
Update ( ) : void
WriteBuffer ( byte data ) : void

Called as anchor data becomes available to export

메소드 상세

CreateAnchor() 공개 메소드

If we are supposed to create the anchor for export, this is the function to call.
public CreateAnchor ( ) : void
리턴 void

WaitForAnchor() 공개 메소드

If we don't have the anchor already, call this to download the anchor.
public WaitForAnchor ( ) : void
리턴 void