API Docs for: 2.0.0
Show:

ARGON Class

Module: ARGON

ARGON object provides global access to AR-specific APIs. See the Argon AR-WebApp Programming Guide for detailed information on how Argon manages the application & rendering environments and to learn how to efficiently use Argon in your application.

Methods

loadDataset

(
  • inDataSetURI
)

Downloads & Activates the DataSet from the specified URI

Parameters:

  • inDataSetURI String

    a fully qualified URI string for a dataset

setThreeCamera

(
  • camera
)

Sets the ThreeJS Camera object. When using the Argon renderer, this method is called automatically.

Parameters:

  • camera THREE.Camera

    an instance of a THREE.Camera

setThreeCSSRenderer

(
  • cssRenderer
)

Sets the CSSRenderer reference. When using the Argon renderer, this method is called automatically.

Parameters:

  • cssRenderer THREE.CSSRenderer

    a THREE.CSSRenderer instance

setThreeWebGLRenderer

(
  • webglRenderer
)

Sets the ThreeJS WebGLRenderer object. When using the Argon renderer, this method is called automatically.

Parameters:

  • webglRenderer THREE.WebGLRenderer

    a THREE.WebGLRenderer instance

Properties

geolocation

AR.GeoLocation

the device's current GeoPosition return as a GeoLocation {{crossLink "AR.GeoLocation"}}{{/crossLink}}

World

THREE.Scene

Provides a World-Positioned container for Augmentataions. {{crossLink "AR.GeoObject"}}{{/crossLink}}

Events

AR.ArgonReadyEvent

the ArgonReadyEvent is fired once Argon finished loading and is typically the starting point to your AR application

AR.DataSetLoadedEvent

Fired when a DataSet is loaded

Event Payload: