Meta

This class represents a Meta object.

new Meta(props: Object, lifes: Array, events: Array)
Parameters
props (Object)
Name Description
props.life String Represents the Meta object's lifecycle.
props.graphics String Represents the Meta object's visual appearance.
props.physics String Represents the Meta object's physics body.
lifes (Array) Includes the Meta object's lifes.
events (Array) Includes the Meta object's events.

Space

This class represents a relative space.

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

HeadMountedDisplay

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

new HeadMountedDisplay(space: Object)
Parameters
space (Object) The space instance

Existence

This class represents a Meta'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 Meta({
 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

DesktopDeviceController

This class represents a desktop device controller.

new DesktopDeviceController(space: Object)
Parameters
space (Object)

MobileDeviceController

This class represents a mobile device controller.

new MobileDeviceController(space: Object)
Parameters
space (Object)