注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Unigine::WidgetExtern Class
Header: | #include <UnigineWidgets.h> |
Inherits: | Widget |
WidgetExtern Class
Members
static WidgetExternPtr create ( const Ptr<Gui> & gui, int class_id ) #
Constructor. Creates a custom user-defined widget and adds it to the specified GUI.Arguments
static WidgetExternPtr create ( int class_id ) #
Constructor. Creates a custom user-defined widget and adds it to the Engine GUI.Arguments
- int class_id - Unique class ID.
int getClassID ( ) const#
Returns a unique class ID.Return value
Unique class ID if the widget exists; otherwise, 0.Last update:
2021-04-09
Help improve this article
(or select a word/phrase and press Ctrl+Enter)