未验证 提交 55b67ab4 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #20551 from markhog/patch-1

TS: Add mouseButtons to TrackballControls
import { Camera, EventDispatcher, Vector3 } from '../../../src/Three';
import { Camera, EventDispatcher, MOUSE, Vector3 } from '../../../src/Three';
export class TrackballControls extends EventDispatcher {
......@@ -22,6 +22,7 @@ export class TrackballControls extends EventDispatcher {
minDistance: number;
maxDistance: number;
keys: number[];
mouseButtons: { LEFT: MOUSE; MIDDLE: MOUSE; RIGHT: MOUSE };
target: Vector3;
position0: Vector3;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册