This page has been translated automatically.
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。
No language code for this page. You can select other language.
No language code for this page,
shown in other instead.
Unigine::WidgetManipulatorTranslator Class
This class creates a mover manipulator along three axes with arrows at the end.
Methods:
Name | Description |
---|
|
create
| Constructor. |
Variables:
Name | Description |
---|
AXIS_UNKNOWN = -1
| The selected axis of the manipulator is undefined. |
AXIS_X = AXIS_UNKNOWN + 1
| The manipulator has the X axis selected. |
AXIS_Y = AXIS_X + 1
| The manipulator has the Y axis selected. |
AXIS_Z = AXIS_Y + 1
| The manipulator has the Z axis selected. |
AXIS_XY = AXIS_ZX + 1
| The manipulator has two axes selected: X and Y. |
AXIS_YZ = AXIS_Z + 1
| The manipulator has two axes selected: Y and Z. |
AXIS_ZX = AXIS_YZ + 1
| The manipulator has two axes selected: Z and X. |
NUM_AXIS = AXIS_XY + 1 | Total number of axes of the manipulator. |
WidgetManipulatorTranslator Class
Members
static WidgetManipulatorTranslatorPtr
create
(
const Ptr<Gui> & gui
)
#
Constructor. Creates a moving manipulator and adds it to the specified GUI.
Arguments
- const Ptr<Gui> & gui - GUI, to which the translator will belong.
static WidgetManipulatorTranslatorPtr
create
(
)
#
Constructor. Creates a moving manipulator and adds it to the Engine GUI.
Last update:
2021-04-29