Méthode | Description | |
---|---|---|
Clear ( ) : void |
Clears all persisted WorldAnchors.
|
|
Delete ( string id ) : bool |
Deletes a persisted WorldAnchor from the store.
|
|
GetAllIds ( string ids ) : int |
Gets all of the identifiers of the currently persisted WorldAnchors.
|
|
GetAllIds ( ) : string[] |
Gets all of the identifiers of the currently persisted WorldAnchors.
|
|
GetAsync ( GetAsyncDelegate onCompleted ) : void | ||
Load ( string id, |
Loads a WorldAnchor from disk for given identifier and attaches it to the GameObject. If the GameObject has a WorldAnchor, that WorldAnchor will be updated. If the anchor is not found, null will be returned and the GameObject and any existing WorldAnchor attached to it will not be modified.
|
|
Save ( string id, |
Saves the provided WorldAnchor with the provided identifier. If the identifier is already in use, the method will return false.
|
Méthode | Description | |
---|---|---|
Clear_Internal ( |
||
Delete_Internal ( |
||
Destruct_Internal ( |
||
GetAllIds_Internal ( |
||
GetAnchorCount_Internal ( |
||
GetAsync_Internal ( GetAsyncDelegate onCompleted ) : void | ||
InvokeGetAsyncDelegate ( GetAsyncDelegate handler, |
||
Load_Internal ( |
||
Save_Internal ( |
||
WorldAnchorStore ( |
public Delete ( string id ) : bool | ||
id | string | The identifier of the WorldAnchor to delete. |
Résultat | bool |
public GetAllIds ( string ids ) : int | ||
ids | string | A target array to receive the identifiers of the currently persisted world anchors. |
Résultat | int |
public static GetAsync ( GetAsyncDelegate onCompleted ) : void | ||
onCompleted | GetAsyncDelegate | |
Résultat | void |
public Load ( string id, |
||
id | string | The identifier of the WorldAnchor to load. |
go | The object to attach the WorldAnchor to if found. | |
Résultat |
public Save ( string id, |
||
id | string | The identifier to save the anchor with. This needs to be unique for your app. |
anchor | The anchor to save. | |
Résultat | bool |