Namespace: stereo

stereo

Raycaster helper.
Available as raycaster.stereo.
raycaster is Raycaster instance.
Source:

Methods

(static) addParticle(particle)

Adds new particle into array of objects to check for intersection with the ray.
Available as raycaster.stereo.addParticle( particle ).
raycaster is Raycaster instance.
Parameters:
Name Type Description
particle THREE.Mesh The Mech or derived class instance for check for intersection with the ray.
Source:
See:

(static) addParticles(newParticles)

New array of objects to check for intersection with the ray.
Available as raycaster.stereo.addParticles( particles ).
raycaster is Raycaster instance.
Parameters:
Name Type Description
newParticles array New array of objects to check for intersection with the ray.
Source:
See:

(static) getPosition(intersection)

get position of intersected object
Available as raycaster.stereo.getPosition( intersection ).
raycaster is Raycaster instance.
Parameters:
Name Type Description
intersection object first item of array of intersections.
Source:
See:

(static) isAddedToParticles(particle)

Available as raycaster.stereo.isAddedToParticles( particle ).
raycaster is Raycaster instance.
Parameters:
Name Type Description
particle THREE.Mesh The Mech or derived class instance for check is added to particles.
Source:
Returns:
true if particle is added to particles.

(static) onDocumentMouseMove(event)

mousemove event. User is moving of mouse over canvas.
Parameters:
Name Type Description
event object
Source:

(static) removeParticle(particle)

Remove particle from array of objects to check for intersection with the ray.
Available as raycaster.stereo.removeParticle( particle ).
raycaster is Raycaster instance.
Parameters:
Name Type Description
particle THREE.Mesh The Mech or derived class instance for removing from array of objects for check for intersection with the ray.
Source:
See:

(static) removeParticles()

remove array of objects to check for intersection with the ray.
Available as raycaster.stereo.removeParticles().
raycaster is Raycaster instance.
Source:
See: