Info
Summary
A 3D widget to display a 3D icon.
Constructor
Item Index
Methods
addInfo
Syntax
addInfo
()
Summary
Shows the widget for the selected object.
isActive
Syntax
Summary
Indicate whether the widget is active.
Returns:
Boolean:
Returns true
if it's active, otherwise it returns false
.
onClick
Syntax
onClick
(
-
The
Summary
Handler used on a mouse click.
Parameters:
-
The
Eventevent object.
onDeselectObject
Syntax
onDeselectObject
(
-
The
Summary
Handler called when an object is deselected.
Parameters:
-
The
Eventevent.
onObjectMove
Syntax
onObjectMove
(
-
The
Summary
Handler called when the object move.
Parameters:
-
The
Eventevent.
onSelectedObject
Syntax
onSelectedObject
(
-
The
Summary
Handler called when an object is selected.
Parameters:
-
The
Eventevent.
onSpecial
Syntax
onSpecial
(
-
The
Summary
Parameters:
-
The
Eventevent object.
removeInfo
Syntax
removeInfo
()
Summary
Hide the widget.
setClickCallback
Syntax
setClickCallback
(
-
fn
Summary
Set a function for the click callback.
Parameters:
-
fn
FunctionThe function to use.