new DeviceOrientationControls(object, options)
Create an instance of DeviceOrientationControls.
Parameters:
Name | Type | Description |
---|---|---|
object |
Object | the object to attach the controls to (usually your Three.js camera) |
options |
Object | options for DeviceOrientationControls: currently accepts smoothingFactor |
- Source:
Methods
connect()
Update the device orientation controls.
Should be called from your three.js rendering/animation function.
- Source: