ViveController

new ViveController(id: any)
Author: stewdio / http://stewd.io
Parameters
id (any)

HeadMountedDisplay

This class represents a HMD(Head Mounted Display) Controller.

new HeadMountedDisplay(space: Object)
Parameters
space (Object) The space instance
Instance Members
onTriggerUp1(mode)

Matter

This class a matter in space.

new Matter(props: Object)
Parameters
props (Object)
Name Description
props.existence String The existence of space.
props.graphics String The visual representation of matter.

Space

This class represents a relative space.

new Space(props: Object)
Parameters
props (Object)
Name Description
props.color String The space's color.
props.matter String Matter that should come with the space.
Instance Members
matter

Existence

This class represents a matter's existence.

new Existence(props: Object)
Parameters
props (Object)
Name Description
props.start String Start of the existence (Date object).
props.end String End of the existence (Date object).
Example
new Matter({
 existence: new Existence({
  start: new Date().plus('m', 1),
  end: new Date().plus('m', 2),
 }),
 graphics: new Graphics({
   geometry: new Cube(true)
 }, true)
});
Instance Members
started
ended
start
end