Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Commit

Permalink
Document new options
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Vergenz committed Nov 23, 2016
1 parent addcf9b commit 6b6b897
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Note that when running in Altspace, the scene will not be synchronized between u
| `usePixelScale` | Treat a unit as a CSS Pixel, and have your scene scale with the scale of the AltspaceVR web browser. This is the default behavior in AltspaceVR for three.js apps. In A-Frame, however, the default value is `false`, as units are in meters by default. | `false`
| `verticalAlign` | Puts the scene origin at the bottom, middle, or top of the Altspace enclosure. If your scene seems to be floating in midair, try setting this to 'bottom'. | `middle`
| `enclosuresOnly` | Turn off 3d rendering when loaded in flat displays (e.g. personal browsers) | `true`
| `fullspace` | Request that the app take up the entire space. See [requestFullspace()](http://altspacevr.github.io/AltspaceSDK/doc/module-altspace-Enclosure.html#requestFullspace) | `false`

### Usage

Expand Down Expand Up @@ -50,3 +51,19 @@ Add the "altspace-tracked-controls" attribute to your tracked entity. For exampl
```html
<a-entity hand-controls="right" altspace-tracked-controls></a-entity>
```

## altspace-cursor-collider

Cause the attached object to be clickable, or else ignored by the cursor.

### Properties

| Property | Description | Default Value |
| -------- | ----------- | ------------- |
| `enabled` | Sets the object visibility to the cursor. | `true`

### Example

```html
<a-box altspace-cursor-collider='enabled: false'></a-box>
```

0 comments on commit 6b6b897

Please sign in to comment.