Show / Hide Table of Contents

Class WorldAnchorTransferBatch

Inheritance
Object
WorldAnchorTransferBatch
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.XR.WSA.Sharing
Assembly: UnityEngine.dll
Syntax
[MovedFrom("UnityEngine.VR.WSA.Sharing")]
public class WorldAnchorTransferBatch : IDisposable

Constructors

| Improve this Doc View Source

WorldAnchorTransferBatch()

Declaration
public WorldAnchorTransferBatch()

Properties

anchorCount

Declaration
public int anchorCount { get; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

AddWorldAnchor(String, WorldAnchor)

Declaration
public bool AddWorldAnchor(string id, WorldAnchor anchor)
Parameters
Type Name Description
String id
WorldAnchor anchor
Returns
Type Description
Boolean
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

ExportAsync(WorldAnchorTransferBatch, WorldAnchorTransferBatch.SerializationDataAvailableDelegate, WorldAnchorTransferBatch.SerializationCompleteDelegate)

Declaration
public static void ExportAsync(WorldAnchorTransferBatch transferBatch, WorldAnchorTransferBatch.SerializationDataAvailableDelegate onDataAvailable, WorldAnchorTransferBatch.SerializationCompleteDelegate onCompleted)
Parameters
Type Name Description
WorldAnchorTransferBatch transferBatch
WorldAnchorTransferBatch.SerializationDataAvailableDelegate onDataAvailable
WorldAnchorTransferBatch.SerializationCompleteDelegate onCompleted
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

GetAllIds()

Declaration
public string[] GetAllIds()
Returns
Type Description
String[]
| Improve this Doc View Source

GetAllIds(String[])

Declaration
public int GetAllIds(string[] ids)
Parameters
Type Name Description
String[] ids
Returns
Type Description
Int32
| Improve this Doc View Source

ImportAsync(Byte[], Int32, Int32, WorldAnchorTransferBatch.DeserializationCompleteDelegate)

Declaration
public static void ImportAsync(byte[] serializedData, int offset, int length, WorldAnchorTransferBatch.DeserializationCompleteDelegate onComplete)
Parameters
Type Name Description
Byte[] serializedData
Int32 offset
Int32 length
WorldAnchorTransferBatch.DeserializationCompleteDelegate onComplete
| Improve this Doc View Source

ImportAsync(Byte[], WorldAnchorTransferBatch.DeserializationCompleteDelegate)

Declaration
public static void ImportAsync(byte[] serializedData, WorldAnchorTransferBatch.DeserializationCompleteDelegate onComplete)
Parameters
Type Name Description
Byte[] serializedData
WorldAnchorTransferBatch.DeserializationCompleteDelegate onComplete
| Improve this Doc View Source

LockObject(String, GameObject)

Declaration
public WorldAnchor LockObject(string id, GameObject go)
Parameters
Type Name Description
String id
GameObject go
Returns
Type Description
WorldAnchor

Implements

System.IDisposable

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX