Class: ManipulationHandles

ManipulationHandles(plane, width, height, scene)

Plane manipulation UI: adds handles around a plane, and installs pointer drag observable to the scene. Top and bottom handles are used to move the plane around, with 6DOF. Left and right handles resize the plane. If this.canMinimize is set, also adds a top-right box that disables plane's parent and all of it's children, except ones specified in dontMinimize. Material and parent are taken from the plane. While initially intended to be used for manipulation of a plane, this can be used to manipulate any mesh.

Constructor

new ManipulationHandles(plane, width, height, scene)

Create the control.
Parameters:
Name Type Description
plane mesh to manipulate
width mesh width, determines how wide are handles
height mesh height, how far up and down are handles
scene babylon scene
Source:

Classes

ManipulationHandles

Methods

dispose()

Clean up
Source:

hide(flag)

Minimize or maximize (hide or show all children of this.group)
Parameters:
Name Type Description
flag boolean indicating whether to hide or show children
Source:

show()

Creates manipulation handles. Left and right handle resize, and top and bottom move it, optional box disables/reenables everything.
Source: