Detects mouse move/up/down events, raycasts to find intersected objects, then dispatches cursor move/up/down/enter/leave events that mimics Altspace events.
Methods
(static) init(scene, camera, optionsopt)
Initializes the cursor module
Parameters:
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
scene |
THREE.Scene | ||||||||||
camera |
THREE.Camera | Camera used for raycasting. |
|||||||||
options |
Object |
<optional> |
An options object Properties
|