setCameraPan
Turns camera panning on or off.
Signatures
- Paramate.Viewport.setCameraPan( cameraPan )
Example
var viewPort = new Paramate.Viewport({ /.../ });
[...]
// Turn off camera movement
viewPort.setCameraPan( false );
Parameters
- cameraPan
-
'true' enables the camera panning, 'false' disables it.