altspace/utilities/codePen

Utilities to help build AltspaceVR apps on CodePen.io.

Methods

(static) ensureInVR()

Will stop code exection and post a message informing the user to open the example in VR

(static) getAuthorId() → {String}

Returns the pen author ID, useful for setting the sync authorId.

(static) getPenId() → {String}

Returns the pen ID, useful for setting the sync instanceId.

(static) setName(name)

Sets the name to be used by ensureInVR()

Parameters:
Name Type Description
name String