Jump to content

Events for gizmo controls.


Varsha Kamble
 Share

Recommended Posts

Hi @Deltakosh,

 

I am using 3 different gizmos for operations -  PositionGizmo, RotationGizmo and ScaleGizmo

 

Quote

this.utilLayer = new BABYLON.UtilityLayerRenderer(this._scene);

this.positionGizmo = new BABYLON.PositionGizmo(this.utilLayer);
this.scalingGizmo = new BABYLON.ScaleGizmo(this.utilLayer);
this.rotationGizmo = new BABYLON.RotationGizmo(this.utilLayer);

 

I want to perform certain task after dragging,scaling or rotating gizmo , for which i need events. But i didn't find any methods of gizmo to capture such events.

There are only 2 methods available for gizmo - dispose and setCustomMesh.

Can you please help me with this?

Thanks.

 

Regards,

Varsha

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...