ToolSwitchActionMsgData Struct Reference

#include <c4d_baselist.h>

详细描述

Message struct for the MSG_TOOL_SWITCHACTION message.
Sent to tools on mouse input to query them on whether they should change to a different tool temporarily while a certain situation (e.g. modifier key) is being held.

注意
The tool must have the PLUGINFLAG_TOOL_SWITCHACTION flag for MSG_TOOL_SWITCHACTION message to be invoked.
由于
R17.032

公共成员函数

  ToolSwitchActionMsgData ()

Input Values

EditorWindow bw
BaseDocument doc
BaseDraw bd
QUALIFIER   qualifier

Result Values

Int32   action

构造函数 & 析构函数文档编制

◆  ToolSwitchActionMsgData()

ToolSwitchActionMsgData ( )

Default constructor.

Member Data Documentation

◆  bw

EditorWindow * bw

[Read-Only]
The editor window.

◆  doc

BaseDocument * doc

[Read-Only]
The document.

◆  bd

BaseDraw * bd

[Read-Only]
The base draw.

◆  qualifier

QUALIFIER qualifier

[Read-Only]
The current qualifier.

◆  action

Int32 action

Assign the ID of an action to switch to temporarily, or leave as NOTOK to ignore.