altspace
+ + + + + + + ++ altspace. + + altspace +
+ + +The altspace component makes A-Frame apps compatible with AltspaceVR.
-Note: If you use the embedded
A-Frame component on your scene, you must include it before the altspace
component, or your app will silently fail.
Properties:
- - - -Name | - - -Type | - - - - -Default | - - -Description | -|||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
usePixelScale |
-
-
- - - -boolean - - - - | - - - - -- - `false` - - | - - +
Name | + + +Type | + + + + +Default | + + +Description | +
---|---|---|---|
usePixelScale |
+
+
+ + + +boolean + + + + | + + + + ++ + `false` + + | + +Allows you to use A-Frame units as CSS pixels. -This is the default behavior for three.js apps, but not for A-Frame apps. |
-
verticalAlign |
-
-
- - - -string - - - - | - - - - -- - `middle` - - | - - +This is the default behavior for three.js apps, but not for A-Frame apps. +|
verticalAlign |
+
+
+ + + +string + + + + | + + + + ++ + `middle` + + | + +Puts the origin at the |
-
enclosuresOnly |
-
-
- - - -boolean - - - - | - - - - -- - `true` - - | - - +or|
enclosuresOnly |
+
+
+ + + +boolean + + + + | + + + + ++ + `true` + + | + +Prevents the scene from being created if -enclosure is flat. |
-
fullspace |
-
-
- - - -boolean - - - - | - - - - -- - `false` - - | - - -Puts the app into fullspace mode. |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Example
- -<head>
- <title>My A-Frame Scene</title>
- <script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
- <script src="https://cdn.rawgit.com/AltspaceVR/aframe-altspace-component/vAFRAME_ALTSPACE_VERSION/dist/aframe-altspace-component.min.js"></script>
-</head>
-<body>
- <a-scene altspace>
- <a-entity geometry="primitive: box" material="color: #C03546"></a-entity>
- </a-scene>
-</body>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-- - - - - - +enclosure is flat. +
fullspace
Puts the app into fullspace mode.
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Example
+ +<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/AltspaceVR/aframe-altspace-component/vAFRAME_ALTSPACE_VERSION/dist/aframe-altspace-component.min.js"></script>
</head>
<body>
<a-scene altspace>
<a-entity geometry="primitive: box" material="color: #C03546"></a-entity>
</a-scene>
</body>
+
+
+
+ + + + + + + \ No newline at end of file diff --git a/doc/index.html b/doc/index.html index 3dada89..85ffd17 100644 --- a/doc/index.html +++ b/doc/index.html @@ -63,7 +63,7 @@
Quick Start
This is a fully functional example of what A-Frame code l
<!DOCTYPE html>
<html><head>
<script src="https://aframe.io/releases/0.3.0/aframe.min.js"></script>
-<script src="https://cdn.rawgit.com/AltspaceVR/aframe-altspace-component/v1.3.1/dist/aframe-altspace-component.min.js"></script>
+<script src="https://cdn.rawgit.com/AltspaceVR/aframe-altspace-component/v1.3.2/dist/aframe-altspace-component.min.js"></script>
<script>
// an example custom component, that will change the color when clicked
diff --git a/doc/sync.html b/doc/sync.html
index 17ccd13..32ad3b0 100644
--- a/doc/sync.html
+++ b/doc/sync.html
@@ -1,163 +1,161 @@
-
-
-
-
- sync - Documentation
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- sync
-
-
-
-
-
-
-
-
-
-
-
-
- sync
-
-
-
-
-
-
-
-
-
+
+
+
+
+ sync - Documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ sync
+
+
+
+
+
+
+
+
+
+
+
+
+ sync
+
+
+
+
+
+
+
+
+
Enables the synchronization of properties of entities. All property sync components
require both a sync.sync-system on a-scene
, and a sync.sync
-on the entity to be synced.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Example
-
- <a-scene sync-system='app: example sync; author: altspacevr'>
- <a-entity sync='ownOn: cursordown' sync-color></a-entity>
-</a-scene>
-
-
-
-
-
-
-
-
-
-
-
-
- Mixins
-
-
- - sync
-
-
- - sync-color
-
-
- - sync-n-sound
-
-
- - sync-system
-
-
- - sync-transform
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+on the entity to be synced.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Example
+
+ <a-scene sync-system='app: example sync; author: altspacevr'>
<a-entity sync='ownOn: cursordown' sync-color></a-entity>
</a-scene>
+
+
+
+
+
+
+
+
+
+
+
+
+ Mixins
+
+
+ - sync
+
+
+ - sync-color
+
+
+ - sync-n-sound
+
+
+ - sync-system
+
+
+ - sync-transform
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/examples/wire/index.html b/examples/wire/index.html index 8b77fd4..9dc7a88 100644 --- a/examples/wire/index.html +++ b/examples/wire/index.html @@ -10,8 +10,8 @@