Метод | Описание | |
---|---|---|
AddWorldAnchor ( string id, |
Adds a WorldAnchor to the batch with the specified identifier.
|
|
Dispose ( ) : void |
Cleans up the WorldAnchorTransferBatch and releases memory.
|
|
ExportAsync ( |
||
GetAllIds ( string ids ) : int |
Gets all of the identifiers currently mapped in this WorldAnchorTransferBatch. If the target array is not large enough to contain all the identifiers, then only those identifiers that fit within the array will be stored and the return value will equal the size of the array. You can detect this condition by checking for a return value less than WorldAnchorTransferBatch.anchorCount.
|
|
GetAllIds ( ) : string[] |
Gets all of the identifiers currently mapped in this WorldAnchorTransferBatch.
|
|
ImportAsync ( byte serializedData, DeserializationCompleteDelegate onComplete ) : void | ||
ImportAsync ( byte serializedData, int offset, int length, DeserializationCompleteDelegate onComplete ) : void | ||
LockObject ( string id, |
Locks the provided GameObject to the world by loading and applying the WorldAnchor from the TransferBatch for the provided id.
|
|
WorldAnchorTransferBatch ( ) : System |
Метод | Описание | |
---|---|---|
AddWorldAnchor_Internal ( |
||
Create_Internal ( ) : |
||
DisposeThreaded_Internal ( |
||
Dispose_Internal ( |
||
ExportAsync_Internal ( |
||
GetAllIds_Internal ( |
||
GetAnchorCount_Internal ( |
||
INTERNAL_CALL_Create_Internal ( |
||
ImportAsync_Internal ( byte serializedData, int offset, int length, DeserializationCompleteDelegate onComplete ) : void | ||
InvokeWorldAnchorDeserializationCompleteDelegate ( DeserializationCompleteDelegate onDeserializationComplete, SerializationCompletionReason completionReason, |
||
InvokeWorldAnchorSerializationCompleteDelegate ( SerializationCompleteDelegate onSerializationComplete, SerializationCompletionReason completionReason ) : void | ||
InvokeWorldAnchorSerializationDataAvailableDelegate ( SerializationDataAvailableDelegate onSerializationDataAvailable, byte data ) : void | ||
LoadAnchor_Internal ( |
||
WorldAnchorTransferBatch ( |
public AddWorldAnchor ( string id, |
||
id | string | The identifier associated with this anchor in the batch. This must be unique per batch. |
anchor | The anchor to add to the batch. | |
Результат | bool |
public static ExportAsync ( |
||
transferBatch | ||
onDataAvailable | SerializationDataAvailableDelegate | |
onCompleted | SerializationCompleteDelegate | |
Результат | void |
public GetAllIds ( string ids ) : int | ||
ids | string | A target array to receive the identifiers of the currently mapped world anchors. |
Результат | int |
public static ImportAsync ( byte serializedData, DeserializationCompleteDelegate onComplete ) : void | ||
serializedData | byte | |
onComplete | DeserializationCompleteDelegate | |
Результат | void |
public static ImportAsync ( byte serializedData, int offset, int length, DeserializationCompleteDelegate onComplete ) : void | ||
serializedData | byte | |
offset | int | |
length | int | |
onComplete | DeserializationCompleteDelegate | |
Результат | void |
public LockObject ( string id, |
||
id | string | The identifier for the WorldAnchor to load and apply to the GameObject. |
go | The GameObject to apply the WorldAnchor to. If the GameObject already has a WorldAnchor, it will be updated. | |
Результат |
public WorldAnchorTransferBatch ( ) : System | ||
Результат | System |