ASLHelper Class |
https://codelabs.developers.google.com/codelabs/arcore-cloud-anchors/index.html#4
https://developers.google.com/ar/develop/developer-guides/anchors
https://developers.google.com/ar/develop/unity/cloud-anchors/quickstart-unity-android
https://developers.google.com/ar/develop/unity/cloud-anchors/overview-unity
Namespace: ASL
The ASLHelper type exposes the following members.
Name | Description | |
---|---|---|
CreateARCoreCloudAnchor |
Creates an ARCore Cloud Anchor at the location the user tapped and passed into it. This function can be used to set the world origin or just a normal cloud anchor.
It is advisable to only have 1 user in your application set cloud anchors.
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion, String) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion, String) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion, String, String) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback) |
Create an ASL Object
| |
InstantiateASLObject(String, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback) |
Create an ASL Object - make sure the prefab you are using to create this ASLObject with does NOT already have an ASL script attached to it
and that it exists on all user's devices (that it can be found on all devices)
| |
InstantiateASLObjectReturnID(String, Vector3, Quaternion) | ||
InstantiateASLObjectReturnID(String, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback) | ||
IterateOverChildObjects | ||
SendAndSetNewScene |
Change scene for all players. This function is called by a user.
| |
SendSpawnPrefab |
Sends a packet out to all players to spawn a prefab object
| |
SendSpawnPrimitive |
Sends a packet out to all players to spawn an object based upon a prefab
| |
TestSendSpawnPrefab |
Name | Description | |
---|---|---|
m_ASLObjects |
A dictionary containing all of the ASLObjects in a scene
| |
m_CloudAnchors |
A dictionary containing all of the Cloud Anchors in a scene
|