Click or drag to resize

ASLHelper Methods

The ASLHelper type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCreateARCoreCloudAnchor
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.
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion, String)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberCode exampleInstantiateASLObject(PrimitiveType, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback)
Create an ASL Object
Public methodStatic memberCode exampleInstantiateASLObject(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)
Public methodStatic memberInstantiateASLObjectReturnID(String, Vector3, Quaternion)
Public methodStatic memberInstantiateASLObjectReturnID(String, Vector3, Quaternion, String, String, ASLObjectASLGameObjectCreatedCallback, ASLObjectClaimCancelledRecoveryCallback, ASLObjectFloatCallback)
Public methodStatic memberIterateOverChildObjects
Public methodStatic memberCode exampleSendAndSetNewScene
Change scene for all players. This function is called by a user.
Private methodStatic memberSendSpawnPrefab
Sends a packet out to all players to spawn a prefab object
Private methodStatic memberSendSpawnPrimitive
Sends a packet out to all players to spawn an object based upon a prefab
Private methodStatic memberTestSendSpawnPrefab
Top
See Also