Unigine::Plugins::SuitManager Class
Warning
The functionality described in this article is not available in the Community SDK edition.
You should upgrade to- Sim
SDK edition to use it.
You should upgrade to
Header: | #include <plugins/Unigine/TeslaSuit/UnigineTeslaSuit.h> |
SuitManager Class
Enums
SUIT_NUM#
Имя | Описание |
---|---|
SUIT_1 = 0 | |
SUIT_2 = 1 | |
SUIT_3 = 2 | |
SUIT_4 = 3 | |
SUIT_5 = 4 | |
SUIT_6 = 5 | |
SUIT_7 = 6 | |
SUIT_8 = 7 | |
MAX_SUITS = 8 |
CALLBACK_INDEX#
Имя | Описание |
---|---|
CONNECTED = 0 | Enables notifications on the suit connection event. |
DISCONNECTED = 1 | Enables notifications on the suit disconnection event. |
NUM_CALLBACKS = 2 | Callback counter. |
Members
Suit * getSuit ( SuitManager::SUIT_NUM num ) #
Returns the interface of the specified suit.Arguments
- SuitManager::SUIT_NUM num - Suit number, one of the SUIT_ values
Return value
Suit interfaceSuit * getSuitByID ( unsigned long long id ) #
Returns the interface of the suit, the ID of which is specified.Arguments
- unsigned long long id - Suit ID
Return value
Suit interfaceVector< Suit * > getConnectedSuits ( ) #
Returns IDs of connected TESLASUITs.Return value
Connected TESLASUITsLast update:
23.06.2023
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter