Constructor
new GuiStatus()
Properties:
Name | Type | Default | Description |
---|---|---|---|
editingFiber |
Number | undefined; | Index of currently being edited fiber. If any, undefined. |
editingCP |
Number | undefined; | Index of currently being edited control point. If any, undefined. |
editingRegion |
Number | undefined; | Index of currently being edited isotropic region. If any, undefined. |
previewing |
Boolean | false | Whether preview mode is active or not. |
dragAndDropping |
Boolean | false | Whether drag and drop control point edit mode is active or not. |
- Source:
Methods
(static) editing(element, index)
Changes the properties of the object matching the specified input.
Parameters:
Name | Type | Description |
---|---|---|
element |
String | Element to be edited. 'fiber', 'CP' or 'region'. |
index |
Number | Index of the element in its array. |
- Source:
(static) isEditing() → {Boolean}
Returns true or false depending on if the user is or not in edit mode.
- Source:
Returns:
If the user is or not in edit mode
- Type
- Boolean
(static) retrieve()
Turns the scene into the current status. Refreshes the GUI.
- Source:
(static) unediting()
Turns the scene into unediting status. Restores the GUI.
- Source: