Defines a direction manipulator arrow in the graphics viewport whose direction can be flipped by the toggling the check box, clicking the button or by the user clicking and dragging on the manipulator arrow.
"directionCommandInput_var" is a variable referencing a DirectionCommandInput object.
|
"directionCommandInput_var" is a variable referencing a DirectionCommandInput object.
|
Type | Description |
boolean | Returns true if successful |
Name | Type | Description |
origin | Point3D | The origin point of the direction manipulator (arrow) in the model space of the root component. |
direction | Vector3D | The direction of the manipulator (arrow) in the model space of the root component. |
Name | Description |
Command Inputs API Sample | Creates a command dialog that demonstrates all of the available command inputs. To use the sample, create a new Python or C++ script and copy and paste this code, replacing the default code. You also need to unpack this zip file which contains a resource folder into the same folder where the source code file (.py or .cpp) is. |