Controller Class |
public class Controller
The Controller type exposes the following members.
Name | Description | |
---|---|---|
ActiveController | ||
ControllerLayer | 设定交互控制器的运行层,有效值为1或2 控制器切换时,同层控制器会彼此替换,非同层的可以叠加 |
Name | Description | |
---|---|---|
ActivateController | ||
BeginPick | ||
BeginSnapPoint | ||
GetPickedObjects | ||
IsObjectFocused | ||
OnActive | ||
OnDeactive | ||
OnMouseClick | ||
OnMouseDoubleClick | ||
OnMouseDown | ||
OnMouseMove | ||
OnMouseUp | ||
OnPoped | ||
OnPushed | ||
OnSnapComplete | 交互控制器在捕捉状态下,按空格键或鼠标中键盘触发 | |
OnSnapLine | 交互控制器在捕捉状态下,捕捉到一根线段的回调 | |
OnSnapPoint | 交互控制器在捕捉状态下,捕捉到一个点的回调 | |
OnSnapRevert | 交互控制器在捕捉状态下,按BACKSPACE键触发 | |
Quit | 退出当前控制器 | |
SetCursor | 设置当前的鼠标指针样式 | |
SetPickMode | ||
SetTip | 设置当前步骤的提示,显示在UI底边状态栏左侧 |