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
Members
onMinMax
Callback on area minimized/maximized, passed a minimized/hidden flag
- Source:
Methods
dispose()
Clean up
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 |
show()
Creates manipulation handles.
Left and right handle resize, and top and bottom move it, optional box disables/reenables everything.
- Source: