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