OrbitControls

class pythreejs.OrbitControls(controlling=None)[source]

This widget has some manual overrides on the Python side.

Inherits Controls.

Three.js docs: https://threejs.org/docs/#api/controls/OrbitControls

autoRotate
Bool(False, allow_none=False).tag(sync=True)
autoRotateSpeed
IEEEFloat(2, allow_none=False).tag(sync=True)
dampingFactor
IEEEFloat(0.25, allow_none=False).tag(sync=True)
enabled
Bool(True, allow_none=False).tag(sync=True)
enableDamping
Bool(False, allow_none=False).tag(sync=True)
enableKeys
Bool(True, allow_none=False).tag(sync=True)
enablePan
Bool(True, allow_none=False).tag(sync=True)
enableRotate
Bool(True, allow_none=False).tag(sync=True)
enableZoom
Bool(True, allow_none=False).tag(sync=True)
keyPanSpeed
IEEEFloat(7, allow_none=False).tag(sync=True)
maxAzimuthAngle
IEEEFloat(float('inf'), allow_none=False).tag(sync=True)
maxDistance
IEEEFloat(float('inf'), allow_none=False).tag(sync=True)
maxPolarAngle
IEEEFloat(3.141592653589793, allow_none=False).tag(sync=True)
maxZoom
IEEEFloat(float('inf'), allow_none=False).tag(sync=True)
minAzimuthAngle
IEEEFloat(-float('inf'), allow_none=False).tag(sync=True)
minDistance
IEEEFloat(0, allow_none=False).tag(sync=True)
minPolarAngle
IEEEFloat(0, allow_none=False).tag(sync=True)
minZoom
IEEEFloat(0, allow_none=False).tag(sync=True)
panSpeed
IEEEFloat(1, allow_none=False).tag(sync=True)
rotateSpeed
IEEEFloat(1, allow_none=False).tag(sync=True)
screenSpacePanning
Bool(True, allow_none=False).tag(sync=True)
zoomSpeed
IEEEFloat(1, allow_none=False).tag(sync=True)
target
Vector3(default_value=[0, 0, 0]).tag(sync=True)
reset()[source]

Reset the controlled object to its initial state.