未验证 提交 d713b777 编写于 作者: M Michael Herzog 提交者: GitHub

Merge pull request #16929 from Mugen87/dev35

TransformControls: Align .attach() method to Object3D.
......@@ -142,6 +142,8 @@ THREE.TransformControls = function ( camera, domElement ) {
this.object = object;
this.visible = true;
return this;
};
// Detatch from object
......@@ -151,6 +153,8 @@ THREE.TransformControls = function ( camera, domElement ) {
this.visible = false;
this.axis = null;
return this;
};
// Defined getter, setter and store for a property
......
......@@ -29,7 +29,7 @@ export class TransformControls extends Object3D {
visible: boolean;
attach(object: Object3D): this;
detach(): void;
detach(): this;
pointerHover(pointer: Object): void;
pointerDown(pointer: Object): void;
pointerMove(pointer: Object): void;
......
......@@ -167,6 +167,8 @@ var TransformControls = function ( camera, domElement ) {
this.object = object;
this.visible = true;
return this;
};
// Detatch from object
......@@ -176,6 +178,8 @@ var TransformControls = function ( camera, domElement ) {
this.visible = false;
this.axis = null;
return this;
};
// Defined getter, setter and store for a property
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册