Global

Members

(constant) isAndroid

Source:

Check if Android

(constant) isMobile

Source:

Check if mobile device

(constant) ua

Source:

User Agent

Methods

attachFOVListener(attach)

Source:

Attch UI Event Listener to Container

Parameters:
Name Type Description
attach boolean

calculateFOV(fov, horizontal)

Source:

Calculate FOV limit

Parameters:
Name Type Description
fov number
horizontal boolean

createGeometry()

Source:

Create Plane Geometry for Regular PanoMoment

createMaterial()

Source:

Create Background Shader Material for Regular PanoMoment

disableControl()

Source:

Disable Control

dispose()

Source:

Dispose Panorama

enableControl()

Source:

Enable Control

enter()

Source:

Enter Panorama

enter()

Source:

Enter Panorama

enter()

Source:

Enter Panorama

getYaw()

Source:

Get Camera Yaw for PanoMoment texture

leave()

Source:

Leave Panorama

leave()

Source:

Leave Panorama

leave()

Source:

Enter Panorama

load()

Source:

Load Pano Moment Panorama

load(immediate)

Source:

Load Panorama

Parameters:
Name Type Description
immediate boolean

load immediately

loadedCallback()

Source:

On Pano Moment Loaded Callback

onPanolensCamera(camera)

Source:

When camera reference dispatched

Parameters:
Name Type Description
camera THREE.Camera

onPanolensContainer(container)

Source:

When container reference dispatched

Parameters:
Name Type Description
container HTMLElement

onPanolensControls(controls)

Source:

When control references dispatched

Parameters:
Name Type Description
controls Array.<THREE.Object>

(abstract) onWindowResize()

Source:

When window is resized

onWindowResize()

Source:

When window is resized

onWindowResize()

Source:

When window is resized

PanoMoment(identifier)

Source:

PanoMoments Panorama

Parameters:
Name Type Description
identifier object

PanoMoment identifier

PanoMomentPanorama(identifier)

Source:

PanoMoment Panorama

Parameters:
Name Type Description
identifier object

PanoMoment identifier

readyCallback()

Source:

On Pano Moment Ready Callback

removeControlItem(item)

Source:

Remove item within the control bar

Parameters:
Name Type Description
item HTMLElement

item to be removed

renderCallback()

Source:

On Pano Moment Render Callback

resetAzimuthAngleLimits(reset)

Source:

Reset Polar Angle Limit by momentData or default

Parameters:
Name Type Description
reset boolean

resetControlLimits(reset)

Source:

Reset Polar Angle and FOV Limits

Parameters:
Name Type Description
reset boolean

resetFOVLimits(reset)

Source:

Set FOV Limit by momentData or default

Parameters:
Name Type Description
reset boolean

setControlCenter(vector)

Source:

Set control center

Parameters:
Name Type Description
vector THREE.Vector3

Vector to be looked at the center

setupDispatcher()

Source:

Intercept default dispatcher

update2DGeometryScale(resetopt)

Source:

Update 2D Geometry Scale

Parameters:
Name Type Attributes Default Description
reset <optional>
false

whether to reset scale

updateCallback()

Source:

On Panolens update callback

updateHeading()

Source:

Update intial heading based on moment data

updateHeading()

Source:

Update intial heading with texture offset

updateTextureToLeft()

Source:

Update Texture for Stereo Left Eye

updateTextureToRight()

Source:

Update Texture for Stereo Right Eye

updateUniformByFormat(format, uniforms)

Source:

Update unifroms by stereo format

Parameters:
Name Type Description
format integer

{ @see STEREOFORMAT }

uniforms object