用于在选中对象上显示指示器的 widget。
| Name | Type | Description |
|---|---|---|
container |
Element | string | 将包含该 widget 的 DOM 元素或 ID。 |
scene |
Scene | 要使用的 Scene 实例。 |
Throws:
-
DeveloperError :文档中不存在 id 为 "container" 的元素。
Members
获取父容器。
获取视图模型。
Methods
销毁该 widget。如果要从布局中永久移除该 widget,应调用此方法。
Returns:
如果对象已被销毁则为 true,否则为 false。
