AltspaceVR supports the 3D scene-building tool A-Frame.
In addition to the set of default components provided by A-Frame,
this SDK provides a set of components to add AltspaceVR compatibility and additional
functionality to the toolset. At a minimum, A-Frame apps will need the altspace
component on the <a-scene>
tag to function as an AltspaceVR app.
Example
<html>
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/AltspaceVR/AltspaceSDK/v2.9.0/dist/altspace.min.js"></script>
</head>
<body>
<a-scene altspace>
<a-entity geometry="primitive: box" material="color: #C03546"></a-entity>
</a-scene>
</body>
</html>
Classes
- AFrameComponent
- AFrameSystem
- altspace
- altspace-cursor-collider
- altspace-tracked-controls
- collapse-model
- instantiator
- n-billboard
- n-box-collider
- n-capsule-collider
- n-cockpit-parent
- n-collider
- n-container
- n-gltf
- n-layout-browser
- n-mesh-collider
- n-object
- n-portal
- n-skeleton-parent
- n-sound
- n-spawner
- n-sphere-collider
- n-text
- NativeComponent
- one-per-user
- sync
- sync-color
- sync-n-skeleton-parent
- sync-n-sound
- sync-system
- sync-transform
- wire